This project provides code examples of how to implement a virtualized grid using @tanstack/virtual and how to implement virtualization while maintaining the aspect ratio of grid items. π»
For a detailed explanation of the implementation, please refer to the blog post below:
π How to build a responsive virtual grid with tanStack virtual
You can also try the live demo here:
π tanstack-virtual-grid.vercel.app