Closed gaoyuan1223m closed 3 weeks ago
I'm interested as well. Perhaps this package will work: https://github.com/FedericoDiRosa/react-window-scroller
@charkour Thanks a lot!
Hey @charkour @gaoyuan1223m , were either of you able to get this working? For me, introducing react-window-scroller causes the cell components to unmount on every render, which leads to terrible performance.
Hey @epurban, I ended up switching to TanStack/virtual since it is newer, receiving active support, and is smaller. It solved my issue.
Sorry I cannot be much help, but figured I'd let you know how I moved forward.
I'm also wondering about this. The react-window package is fantastic, but for one of my use cases I wound up with a list that needed to be scrolled by its container. Basically the use case seen here: https://codesandbox.io/p/sandbox/7yzzw92xw1?file=%2Fsrc%2FUsers.jsx
I wound up add react-virtualized to my project too, and while it works, but I feel a bit strange having both in my project and worry that react-virtualized may be on its way out. The react-window-scroller package mentioned above doesn't look like its maintained anymore.
Hey @patorjk, as @charkour recommended, I also switched to tanstack virtual for most of my virtualized list use cases.
That library turned out to be awesome. I did not expect it to handle my exact use case but it's literally their first example. I'm going to need to test some more but thank you for seconding that recommendation!
I would wonder why WindowScroller is removed from 'react-window' or is there any alternative to WindowScroller in 'react-window'?