Add virtualization to fix lagginess etc. when there are 1k+ options #5637
Closed
zanzlender
started this conversation in
Ideas
Replies: 2 comments
-
I've been looking at the source code, but I'm skeptic that this solution will work... Since Tanstack Virtual uses hooks while RS is using class components. But this might be a good alternative... From the same guy who created React Virtualized and React virtualized select, React window |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just found this issue #3128 which explains this and proposes a workaround using react-window 👍 Working solution with TS #3128 - Workaround Still I think it would be useful to have it included by default.... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the first time since I have been using RS I've encountered a problem. I have a select for towns and villages in my country with over 5000 options. This causes RS to be very unresponsive and laggy.
I've been playing around with Tanstack Virtual and I think this might solve the issue.
Similarly to how React virtualized select used React virtualized.
What do you all think?
Beta Was this translation helpful? Give feedback.
All reactions