-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Inputs are slower to update than other tags #1178
Comments
I had a comment a long time ago (it might still be relevant). We shouldn't be reading from the DOM in order to reconcile because that's kind of the point of reconciling - to be able to detect changes without having to resort to touching the DOM. Not sure if it's possible to do the types of things we want without resorting to DOM touching. |
We'll keep doing perf work but this doesn't need to stay open as a separate issue. |
If you compare:
http://jsfiddle.net/yannyann/6HeSr/
to this one where I've swapped out the input for a span:
http://jsfiddle.net/6HeSr/6/
then you'll notice the second one is about twice as fast to update. Maybe we can optimize ReactDOMInput to bring these more in line?
The text was updated successfully, but these errors were encountered: