• Elie NEHME's avatar
    Debounce the rendering of the application view · 4870aae2
    Elie NEHME authored
    If we don't debounce "this.render", the app-view will be rendered 4 times on each todo (visible, change, change:complete and sync). So when we try to check globally all todos, this.render is called a hundred times.
    4870aae2
app-view.js 3.63 KB