mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Add Fibers to ReactTreeTraversal
This traverses parent based on the type of internal instance it is passed. If it is a Fiber it may have to traverse multiple steps until it finds a HostComponent. This will allow us to use the event system with Fiber.
This commit is contained in:
@@ -11,13 +11,6 @@ src/addons/__tests__/renderSubtreeIntoContainer-test.js
|
||||
* should update context if it changes due to setState
|
||||
* should update context if it changes due to re-render
|
||||
|
||||
src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
|
||||
* should clean-up silently after the timeout elapses
|
||||
* should keep both sets of DOM nodes around
|
||||
* should switch transitionLeave from false to true
|
||||
* should transition from one to null
|
||||
* should transition from false to one
|
||||
|
||||
src/isomorphic/classic/__tests__/ReactContextValidator-test.js
|
||||
* should pass previous context to lifecycles
|
||||
|
||||
@@ -388,17 +381,6 @@ src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
|
||||
* gets reported when a child is inserted
|
||||
* gets reported when a child is removed
|
||||
|
||||
src/renderers/shared/shared/__tests__/ReactTreeTraversal-test.js
|
||||
* should traverse two phase across component boundary
|
||||
* should traverse two phase at shallowest node
|
||||
* should traverse enter/leave to sibling - avoids parent
|
||||
* should traverse enter/leave to parent - avoids parent
|
||||
* should enter from the window
|
||||
* should enter from the window to the shallowest
|
||||
* should leave to the window
|
||||
* should leave to the window from the shallowest
|
||||
* should determine the first common ancestor correctly
|
||||
|
||||
src/renderers/shared/shared/event/__tests__/EventPluginHub-test.js
|
||||
* should prevent non-function listeners, at dispatch
|
||||
* should not prevent null listeners, at dispatch
|
||||
|
||||
@@ -75,8 +75,13 @@ src/addons/__tests__/update-test.js
|
||||
src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
|
||||
* should warn if timeouts aren't specified
|
||||
* should not warn if timeouts is zero
|
||||
* should clean-up silently after the timeout elapses
|
||||
* should keep both sets of DOM nodes around
|
||||
* should switch transitionLeave from false to true
|
||||
* should work with no children
|
||||
* should work with a null child
|
||||
* should transition from one to null
|
||||
* should transition from false to one
|
||||
* should use transition-type specific names when they're provided
|
||||
* should clear transition timeouts when unmounted
|
||||
* should handle unmounted elements properly
|
||||
@@ -963,8 +968,17 @@ src/renderers/shared/hooks/__tests__/ReactHostOperationHistoryHook-test.js
|
||||
|
||||
src/renderers/shared/shared/__tests__/ReactTreeTraversal-test.js
|
||||
* should not traverse when traversing outside DOM
|
||||
* should traverse two phase across component boundary
|
||||
* should traverse two phase at shallowest node
|
||||
* should not traverse when enter/leaving outside DOM
|
||||
* should not traverse if enter/leave the same node
|
||||
* should traverse enter/leave to sibling - avoids parent
|
||||
* should traverse enter/leave to parent - avoids parent
|
||||
* should enter from the window
|
||||
* should enter from the window to the shallowest
|
||||
* should leave to the window
|
||||
* should leave to the window from the shallowest
|
||||
* should determine the first common ancestor correctly
|
||||
|
||||
src/renderers/shared/shared/event/__tests__/EventPluginRegistry-test.js
|
||||
* should be able to inject ordering before plugins
|
||||
|
||||
Reference in New Issue
Block a user