mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +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:
1 parent
9510ecfc5e
commit
5fcdebf712
7 files changed
+165
-85
No files matched your search
@@ -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