2 ms·
If your react state contains large lists, I think React's render() is going to be the bottleneck, not javascript arrays. That's why react state needs to be stru
by dustingetz 12y ago
If your react state contains large lists, I think React's render() is going to be the bottleneck, not javascript arrays. That's why react state needs to be structured in a tree, so you can implement shouldComponentUpdate and get O(log n) renders. I wrote more in reply to jlongster.