Just used react-window to handle a table of 1000 records
Just used react-window to handle a table of 1000 records. Loads nearly instantly, feels natural when scrolling, and re-renders a subset of rows immediately when I apply my custom filters.
I ❤️ react-window. Great work @brian_d_vaughn 👍
Virtualized tables like this are a huge time-saver. Rendering large datasets on the client means:
- you can do instant filtering of large datasets on the client
- no extra APIs/code for pagination needed 🎉
I'm filtering 1000+ rows and it's instant - even in IE11. 😍
It's crazy how much more code is required to paginate and filter via the server.
Extra API endpoints
JS to call those endpoints
JS to marshal data from those endpoints
UI for pagination...
And after all that, the user experience wouldn't be as good as a single virtual table. 💪