You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Microsoft's macOS fork of React Native. Keep changes merge-friendly, and open other files only when a table below sends you there. Where other guidance in this file conflicts with this section, this section wins.
Fork rules
I1 Keep upstream merges clean: make the smallest change that works, and tag every macOS change in a shared file (fork.diff-tags).
I2 Respect path ownership. Never put fork content in upstream-owned files, such as __docs__ folders or the shared lint configs (fork.ownership).
I3 Extend the iOS implementation with TARGET_OS_OSX guards and RCTUIKit types instead of copying files.
I4main runs only the New Architecture, but the legacy (Paper) sources still compile. Keep them compiling, and make Paper behavior fixes on *-stable branches.
I5 Write PR titles as Conventional Commits. Add a Changeset only to PRs into *-stable (process.pull-requests).
I6 Keep one home per fact and link to it instead of copying it. Change agent instructions and knowledge only through the rnmacos-organize-knowledge skill.
I7 Report each validation command you ran with its exact result, and list the checks you didn't run.
Where macOS code lives
Path
Contents
packages/react-native
The react-native-macos package, with macOS code inline in shared iOS files