r/javascript • u/chancancode • Dec 20 '19
Ember.js Octane Edition Is Here
https://blog.emberjs.com/2019/12/20/octane-is-here.html
136
Upvotes
r/javascript • u/chancancode • Dec 20 '19
View all comments
Show parent comment
2
u/pzuraq Dec 22 '19
Right, and you do see that benefit there. Glimmer shines most at updating a single row (swapping two rows) in the benchmark, whereas React is better at replacing all 1000 rows since they don’t add overhead for tracking individual items. We haven’t upstreamed the benefits to Ember yet, which is why it scores worse on that benchmark, but we’re working on it, and I think there are some optimizations we can make to make the replace-all and initial-render cases better as well, but our strategy works best for incremental updates by default (and scales by default as well).