3 ms·
Interesting. I may steal some code :) I handle not sending models to the server with remote/local boolean attributes on the model. Certainly not as well decoup
by lucian1900 15y ago
Interesting. I may steal some code :)
I handle not sending models to the server with remote/local boolean attributes on the model. Certainly not as well decoupled as yours.
- scosman 15y agoanother thing to consider, Store.records is keeping everything in memory. Using only localstorage should save some memory (although it depends on the browser implementation)
- lucian1900 15y agoGood point. On the other hand, localStorage access appears to block, sometimes quite a bit. I'll investigate some more. It's a bit I inherited from Backbone.localStorage, and haven't looked into much.