4 ms·
Just use something like react-virtualized. Problem solved
by awestroke 5y ago
Just use something like react-virtualized. Problem solved
- afiori 5y agoit remains true that react is unable to use the DOM at its full performance regardless of virtualization. part of it is that after all react is a library and not a compiler (which is good per se, I like that you could use react with only vanilla .js and .mjs files or even once big HTML file) which means that for the react runtime components are black boxes and cannot be statically analyzed nor statically optimized. in the case of a table with 70k rows, even if the component only returned one jsx without any computation react would have to run the same diffing algorithms (this could be solved with a useMemo, but not always)