dillon1000/react

Commit

Create Fabric-specific version of ReactNativeAttributesPayload (#28841)

## Summary

This PR introduces Fabric-only version of
`ReactNativeAttributesPayload`. It is a copy-paste of
`ReactNativeAttributesPayload.js`, and is called
`ReactNativeAttributesPayloadFabric.js`.
The idea behind this change is that certain optimizations in prop
diffing may actually be a regression on the old architecture. For
example, removing custom diffing may result in larger updateProps
payloads. Which is, I guess, fine with JSI, but might be a problem with
the bridge.

## How did you test this change?

There should be no runtime effect of this change.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-native-renderer/src/ReactFiberConfigFabric.js ModifiedM packages/react-native-renderer/src/ReactNativeAttributePayload.js ModifiedA packages/react-native-renderer/src/ReactNativeAttributePayloadFabric.js Added
Patch

Files changed

Rendering syntax-highlighted changes…