Serhii Stotskyi
Serhii Stotskyi
One more point: currently there is no way to clean up component (for example `clearInterval`, etc). So, need to add one more method `unbind` which is called when component is...
Just to summarize efforts - [x] Optional "template", "template" as string, element/document fragment based templates #545 - [ ] change the order of "template" and "initialize" invokations (`initialize` first then...
@jccazeaux in my fork I use `block-name` attr and its name may be configured. So, no worries about that
You are right at some point. But your test is also not comparable. The root of the performance issue is in asterisk. Rivets can't much binder with asterisk efficiently so...
The better solution could be this: 1. Check if binder can be found by attr name 2. If not, try simple matching algorithm: get the first word of attr (attr...
we need to take each binding and test it using developer tools and 3 times "Take Snapshot" approach, remove the nodes and check if rivets cleans up the views and...
For those who want to help but don't know how: - http://developers.google.com/chrome-developer-tools/docs/memory-analysis-101 - http://developers.google.com/chrome-developer-tools/docs/heap-profiling - http://addyosmani.com/blog/taming-the-unicorn-easing-javascript-memory-profiling-in-devtools - http://coding.smashingmagazine.com/2012/11/05/writing-fast-memory-efficient-javascript - http://www.html5rocks.com/en/tutorials/memory/effectivemanagement - http://www.html5rocks.com/en/tutorials/speed/static-mem-pools
This will be done as part of set of pull requests with improvements to components: The first one: https://github.com/mikeric/rivets/pull/545
@Duder-onomy @blikblum @Leeds-eBooks @naturalist Has anybody fixed this?
@snehalnayan could you please add tests?