Re:Show HN: Grid.js – Advanced table library that works ever...
by afshinmeh on Thursday June 04, 2020 @03:52PM
(#23420976)
Thanks! Appreciate your feedback.
Well, it is on our roadmap! With Grid.js you will be able to sort, search or process data in a separate thread (Web Worker) and then pass the results to the main thread to render.
I'm also thinking about lazy-loading the table rows. Both the Web Worker bit and lazy-loading will be added in a week or two.
Re:Show HN: Grid.js – Advanced table library that works ever...
by pea on Thursday June 04, 2020 @04:12PM
(#23421187)
Cool! Have you checked out https://github.com/bvaughn/react-virtualized too? Might be totally useless to you, but I think they've done a lot under the hood to optimise table loading.
Congrats again on a beautiful product.
Re:Show HN: Grid.js – Advanced table library that works ever...
by craigching on Thursday June 04, 2020 @05:57PM
(#23422407)
I’ve used react-virtualized to render hundreds of thousands of rows, it’s a great library. React-window from the same developer is also worth checking out if you don’t want all the bells and whistles.
We currently use `react-table`, which is good in that it can support some reasonably large datasets (for instance, here's 2 million rows on the client-side - https://datapane.com/leo/reports/table-test/ - a bit laggy with sorting, but passable). This may not be the use-case you're going after at all, but have you run any benchmarks for how big a dataset you can support?