Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown laggy if there are more than 1000 elements #1268

Closed
thientran1707 opened this issue Feb 1, 2017 · 2 comments
Closed

Dropdown laggy if there are more than 1000 elements #1268

thientran1707 opened this issue Feb 1, 2017 · 2 comments

Comments

@thientran1707
Copy link

Somehow the Dropdown component is laggy if there are lots of elements (1000 elements)

@levithomason
Copy link
Member

levithomason commented Feb 1, 2017

React will be several times slower in development than in production, mostly due to propType checkers and dev tools.

That said, do not put >1000 elements in a Dropdown 😄 You might consider using <Search /> or even a <Dropdown /> but showing far fewer items (filtering outside of the dropdown). I'm open to all targeted optimizations, but, there are no plans to support more than 1000 items.

@thientran1707
Copy link
Author

hi, I see, i have switched to use the Search component :) it seems ok now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants