css-reference
css-reference copied to clipboard
Initial Load is Slow, Much to Render
https://twitter.com/jgthms/status/802130369881534464
The majority of the page is offscreen and perhaps should be rendered more dynamically.
This may be solved by pagination, infinite scrolling, or lazyloading.
Keep in mind:
- The sidebar is important to keep in mind as it expects the elements to exist and be loaded.
- Avoid "popping" of elements in and out as user scrolls.
Yes it is definitely an issue. I'm working on a fix.
I believe something like React's FixedDataTable should work: https://facebook.github.io/fixed-data-table/
The idea is to only render what's in view. Not sure if there's an equivalent without React.