react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Implement Fabric commit branching (begind a flag)

Open j-piasecki opened this issue 1 month ago • 1 comments

Summary: Changelog: [General][Changed] - Changed how React changes are commited to the Shadow Tree (behind a feature flag)

Introduces two branches for the Shadow Tree commits - React always commits to the JS revision, while other sources should commit to the main revision. Commits to the JS revision schedule a "merge" commit at the end of the event loop pass to upstream the React changes to the main revision.

"Merge" means taking the JS revision and promoting it to become the new main, losing changes that happened between fork and merge. Preservation of these changes is the responsibility of the party that created them, and they should be reapplied using a commit hook.

Differential Revision: D88151489

j-piasecki avatar Dec 10 '25 11:12 j-piasecki

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88151489.

meta-codesync[bot] avatar Dec 10 '25 11:12 meta-codesync[bot]