4 ms·
Thanks! Yeah, creating a todo-list demo was actually on my, eh... todo-list! :-) I'll probably implement this one soon: https://todomvc.com/ https://todomvc.c
by vanviegen 1y ago
Thanks!
Yeah, creating a todo-list demo was actually on my, eh... todo-list! :-)
I'll probably implement this one soon: https://todomvc.com/ https://todomvc.com/
- 90s_dev 1y agoI just saw your todo list. One issue is that all the work is done in the view. Suppose I want to toggle or clear items programmatically instead of via UI. This is why I suggested the todo example, because it goes one level deep, which is more than zero, just enough to show-case how the model and view interoperate in a way that's not just the same as backbone.js, which so far this looks exactly like. [edit]: That's also why I suggested a button to inverse all todo items. This would have forced you to pull some code out of the view constructor for a todo item and I wanted to see where it would go and how it would all connect.