dillon1000/react

Commit

Fix host bailout for the persistent mode (#13611)

* Add regression test for persistent bailout bug

* Fork more logic into updateHostComponent

This is mostly copy paste. But I added a bailout only to mutation mode. Persistent mode doesn't have that props equality bailout anymore, so the Fabric test now passes.

* Add failing test for persistence host minimalism

* Add bailouts to the persistent host updates
Browse files
Changed paths5 files
First-parent comparison
M packages/react-native-renderer/src/__tests__/ReactFabric-test.internal.js ModifiedM packages/react-native-renderer/src/__tests__/__snapshots__/ReactFabric-test.internal.js.snap ModifiedM packages/react-noop-renderer/src/createReactNoop.js ModifiedM packages/react-reconciler/src/ReactFiberCompleteWork.js ModifiedA packages/react-reconciler/src/__tests__/ReactPersistentUpdatesMinimalism-test.js Added
Patch

Files changed

Rendering syntax-highlighted changes…