It seems that there is a flaw with Backbone.js TodoMVC application -
this refers http://todomvc.com/architecture-examples/backbone/.
in app.appview render() method gets called many times when adding single todo.
if i'm not mistaking, having render() method being called many times bad. flaw in todomvc implementation?
in cases, you'd right.
in todo case, however, seems "add" event gets triggered. because there apparently isn't (e.g.) "sync" event since uses local storage , doesn't sync server.
in other words, looks isn't case in todo's specific case (due implementation), in cases registering handler on "all" events trigger rendering multiple times.
Comments
Post a Comment