T
TanStack12mo ago
multiple-amethyst

is @tanstack/react-virtual necessary to build a table in CRA environment?

when do i need @tanstack/react-virtual ? I know it is required when to enhance performance. but what else? Is it necessary even though performance isn't important at all?
1 Reply
foreign-sapphire
foreign-sapphire12mo ago
The virtual package is used to make large data sets perform well and reduce the render load for React. So it depends on how you’re using the table UI. For instance, if you’re managing pagination server side, then there’s usually no need for the virtual library. But if you’re loading everything to the front end browser and you have large datasets then you might find the virtual library crucial to maintaining acceptable perf.

Did you find this page helpful?