4 ms·
How does Thorax compare to Chaplin.js in regards to memory management?
by mcx 13y ago
How does Thorax compare to Chaplin.js in regards to memory management?
- eastridge 13y agoI'm not familiar with Chaplin's memory management strategy, but in Thorax we automatically manage the lifecycle of child views. If you need to manually manage the lifecycle of views, we've implemented `retain` and `release` methods ala obj-c. It's not an easy subject to tackle in a paragraph, but we've solved the problem enough that we aren't leaking memory in a huge app in a sensitive environment (mobile devices).
- pdufour 13y agoChaplin features this as well, via a "dispose" method. It'd be great to see a comparison list of all these Backbone meta frameworks. Note: I am just a user of Chaplin, not an author.