dillon1000/react
Commit
Browse files ReactDOM.unstable_asyncRender creates an async-by-default tree
The default priority of updates in a async tree is LowPriority, rather than SynchronousPriority. Warns if you call unstable_asyncRender on a tree that was created with the normal, sync ReactDOM.render.
Changed paths4 files
First-parent comparisonsrc/renderers/dom/fiber/ReactDOMFiber.js ModifiedA src/renderers/dom/fiber/__tests__/ReactDOMFiberAsync-test.js AddedM src/renderers/dom/shared/ReactDOMFeatureFlags.js ModifiedM src/renderers/shared/fiber/ReactFiberReconciler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…