mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use Portals to test batching across roots (#8508)
This doesn't work by default in Fiber, you have to opt-in with a Portal to get the explicit ordering guarantees.
This commit is contained in:
committed by
GitHub
parent
48c7bbd980
commit
facce3d736
@@ -110,7 +110,6 @@ src/renderers/shared/shared/__tests__/ReactStatelessComponent-test.js
|
||||
* should warn when using non-React functions in JSX
|
||||
|
||||
src/renderers/shared/shared/__tests__/ReactUpdates-test.js
|
||||
* should queue mount-ready handlers across different roots
|
||||
* marks top-level updates
|
||||
* throws in setState if the update callback is not a function
|
||||
* throws in replaceState if the update callback is not a function
|
||||
|
||||
@@ -1451,6 +1451,7 @@ src/renderers/shared/shared/__tests__/ReactUpdates-test.js
|
||||
* should not reconcile children passed via props
|
||||
* should flow updates correctly
|
||||
* should share reconcile transaction across different roots
|
||||
* should queue mount-ready handlers across different roots
|
||||
* should flush updates in the correct order
|
||||
* should flush updates in the correct order across roots
|
||||
* should queue nested updates
|
||||
|
||||
Reference in New Issue
Block a user