-
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
Use incrementing numerical IDs to identify DOM components #5205
Merged
Commits on Nov 4, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 19e2cf5 - Browse repository at this point
Copy the full SHA 19e2cf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5becbe3 - Browse repository at this point
Copy the full SHA 5becbe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 276ef73 - Browse repository at this point
Copy the full SHA 276ef73View commit details -
Always do useCreateElement for updates
Initial render can still be a markup string.
Configuration menu - View commit details
-
Copy full SHA for 5a7c273 - Browse repository at this point
Copy the full SHA 5a7c273View commit details -
New module! With this, we have a new module that uses the component tree to store DOM nodes. Most of the logic in this file relates to markup adoption -- if we were to drop that (along with server rendering) this file could just be a `return inst._nativeNode;`. This works with useCreateElement only because we need to reference each node as it's created. Events is now the only thing using ReactMount.getNode -- I'll introduce pointers back from the DOM nodes (and a `ReactDOMComponentTree.getInstanceFromNode`) and make that work.
Configuration menu - View commit details
-
Copy full SHA for ce52845 - Browse repository at this point
Copy the full SHA ce52845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d20556 - Browse repository at this point
Copy the full SHA 6d20556View commit details -
Events: Pass native instances up until propagation
Next step: take advantage of having the native instances in EventPropagators instead of converting right back to IDs.
Configuration menu - View commit details
-
Copy full SHA for f470cb8 - Browse repository at this point
Copy the full SHA f470cb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d11ccd6 - Browse repository at this point
Copy the full SHA d11ccd6View commit details -
put/deleteListener take an instance, not an ID
This removes SimpleEventPlugin's dependency on ReactMount.getID.
Configuration menu - View commit details
-
Copy full SHA for 796f8c3 - Browse repository at this point
Copy the full SHA 796f8c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba0e95 - Browse repository at this point
Copy the full SHA 4ba0e95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d94d7d - Browse repository at this point
Copy the full SHA 5d94d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 663c4b7 - Browse repository at this point
Copy the full SHA 663c4b7View commit details -
Turn ReactInstanceHandles-test into ReactDOMTreeTraversal-test
This test relied on the fact that ReactDOMComponent still produced hierarchical IDs -- although this module could be used standalone, we're replacing it completely so it makes more sense to just move the tests over to test ReactDOMTreeTraversal.
Configuration menu - View commit details
-
Copy full SHA for f06ddf7 - Browse repository at this point
Copy the full SHA f06ddf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e48c8be - Browse repository at this point
Copy the full SHA e48c8beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cebada - Browse repository at this point
Copy the full SHA 3cebadaView commit details -
- Remove last references to ReactInstanceHandles (still used in responder unit test) - Remove ClientReactRootIndex/ServerReactRootIndex
Configuration menu - View commit details
-
Copy full SHA for 35543c6 - Browse repository at this point
Copy the full SHA 35543c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b80f676 - Browse repository at this point
Copy the full SHA b80f676View commit details -
Configuration menu - View commit details
-
Copy full SHA for c193d1a - Browse repository at this point
Copy the full SHA c193d1aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.