Skip to content

Cleanup props diffing experiments #33381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2025

Conversation

javache
Copy link
Member

@javache javache commented May 30, 2025

Summary

We completed testing on these internally, so can cleanup the separate fast and slow paths and remove the enableShallowPropDiffing flag which we're not pursuing.

How did you test this change?

yarn test ReactNativeAttributePayloadFabric

@@ -33,8 +33,6 @@ export const {
retryLaneExpirationMs,
syncLaneExpirationMs,
transitionLaneExpirationMs,
enableFastAddPropertiesInDiffing,
enableViewTransition,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep enableViewTransition, probably a rebase merge error since I had it briefly removed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, good catch.

@javache javache force-pushed the rn-cleanup-payload-diffing branch from db1429f to 4113c25 Compare May 30, 2025 15:53
@react-sizebot
Copy link

Comparing: 14094f8...4113c25

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 529.84 kB 529.84 kB = 93.52 kB 93.52 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 650.94 kB 650.94 kB = 114.65 kB 114.65 kB
facebook-www/ReactDOM-prod.classic.js = 675.89 kB 675.89 kB = 118.93 kB 118.93 kB
facebook-www/ReactDOM-prod.modern.js = 666.17 kB 666.17 kB = 117.32 kB 117.32 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 4113c25

@javache javache merged commit 8b55eb4 into facebook:main May 30, 2025
240 checks passed
@javache javache deleted the rn-cleanup-payload-diffing branch May 30, 2025 16:18
github-actions bot pushed a commit that referenced this pull request May 30, 2025
## Summary

We completed testing on these internally, so can cleanup the separate
fast and slow paths and remove the `enableShallowPropDiffing` flag which
we're not pursuing.

## How did you test this change?

```
yarn test ReactNativeAttributePayloadFabric
```

DiffTrain build for [8b55eb4](8b55eb4)
github-actions bot pushed a commit to code/lib-react that referenced this pull request May 30, 2025
## Summary

We completed testing on these internally, so can cleanup the separate
fast and slow paths and remove the `enableShallowPropDiffing` flag which
we're not pursuing.

## How did you test this change?

```
yarn test ReactNativeAttributePayloadFabric
```

DiffTrain build for [8b55eb4](facebook@8b55eb4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants