by saifelse · 10y ago · 0 comments
There are open-source projects worth looking at like Ritzy[1] which is quite fast and written in React from what I've read.
As per your specific issue, I've found that using PureRenderMixin with each line of text represented as a component works for hundreds of lines, but this still ends up with performance issues as you scale to thousands of lines. Using a list of one-character components will run into performance issues much sooner as there is per-component overhead.
[0] https://github.com/atom/atom/pull/5624 [1] http://ritzyed.github.io/ritzy/
No comments yet.