mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Move commit phase outside of performUnitOfWork
This gives us the ability to complete a tree without having to commit it within the same frame.
This commit is contained in:
committed by
Andrew Clark
parent
9510ecfc5e
commit
5fcdebf712
@@ -1161,6 +1161,7 @@ src/renderers/shared/fiber/__tests__/ReactIncrementalSideEffects-test.js
|
||||
* preserves a previously rendered node when deprioritized
|
||||
* can reuse side-effects after being preempted
|
||||
* can reuse side-effects after being preempted, if shouldComponentUpdate is false
|
||||
* can update a completed tree before it has a chance to commit
|
||||
* updates a child even though the old props is empty
|
||||
* can defer side-effects and resume them later on
|
||||
* can defer side-effects and reuse them later - complex
|
||||
|
||||
Reference in New Issue
Block a user