3 ms·
This seems like a useful addition. I hope it will gain traction (if the impl is sober, I haven't tried it out yet). My main issue with backbone are the Collect
by moe 15y ago
This seems like a useful addition. I hope it will gain traction (if the impl is sober, I haven't tried it out yet).
My main issue with backbone are the Collection shortcomings (like this one) which require just the kind of boilerplate-workarounds that are so easy to get subtly wrong.
Another example would be the lack of infrastructure for nested Collections (e.g. cf. https://github.com/documentcloud/backbone/issues/483#issuecomment-1595018 https://github.com/documentcloud/backbone/issues/483#issueco...).
I understand that backbone doesn't want to grow fat in the core. However it would be nice to see a standard library emerge to cover these very common requirements (perhaps call it "ribcage"?).
- prateekdayal 15y ago> if the impl is sober, I haven't tried it out yet The way Backbone is structured (or this could be my limited understanding of it), you have to hack it at a very low level to get something like this going. Some people may have concerns with respect to Backbone.js upgrades breaking this. However, if you have test coverage in your app, upgrading backbone.js should not be an issue. It has worked well for us from 0.3.3 through 0.5.3 for example.