GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Create Fabric-specific version of ReactNativeAttributesPayload by dmytrorykun · Pull Request #28841 · react/react Conversation
|
|
Comparing: b498834...ad43eec Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| } else { | ||
| return diffProperties(updatePayload, emptyObject, props, validAttributes); | ||
| } | ||
| // TODO: Fast path |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Remove this TODO if we're only going to do so in ReactNativeAttributePayloadFabric. I don't believe we should be making any other changes to Paper.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is just how the code looked before I added fastAddProperties.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
## 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. DiffTrain build for commit 7039834.
Completes #65845 which only updated Canary not Experimental. <details> <summary> React upstream changes</summary> - react/react#29026 - react/react#29025 - react/react#28743 - react/react#29022 - react/react#29023 - react/react#29015 - react/react#29016 - react/react#28988 - react/react#28987 - react/react#28986 - react/react#29014 - react/react#28982 - react/react#29006 - react/react#28973 - react/react#28841 - react/react#28964 - react/react#28990 - react/react#29003 - react/react#28989 - react/react#28893 - react/react#28887 - react/react#28807 - react/react#28978 - react/react#28963 - react/react#28972 - react/react#28970 - react/react#28816 - react/react#28977 - react/react#28974 - react/react#28976 - react/react#28975 - react/react#28969 - react/react#28966 - react/react#28056 </details>
…#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.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.