The Wire · Showcase
REACT COMPILER GOES MODULAR AS REACT NATIVE SHIPS 0.86.0
By RepoJournal · Filed · About Meta
React's compiler architecture is getting a major restructuring, moving OXC and SWC integration out of core and into their own projects, while React Native stabilizes animation handling and fixes critical Fabric crashes.
The React team has decided to decouple the compiler from its bundler integrations [1]. OXC and SWC will now consume the React compiler as a crate rather than maintain plugins in the React repo itself. This is a significant architectural shift that puts ownership where it belongs: bundler teams control their own plugins. React Native 0.86.0 ships today with expanded accessibility test coverage and animation suspense support [2]. On the stability front, the team is fixing the crashing `RetryableMountingLayerException` that's been hitting Oculus apps through better viewState handling in SurfaceMountingManager [3]. The codebase is also tightening type safety by removing legacy Flow casting syntax, standardizing on the newer `as` operator across the board [4]. GitHub Actions workflows are being migrated to the new `react/react-native` org [5], so CI pipelines built on the old facebook namespace will need attention.
One email a day. Unsubscribe in one click.
Keep up with Meta in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review your OXC or SWC bundler configs for the new compiler crate consumption pattern facebook/react [plan]
- → Upgrade to React Native 0.86.0 and test animation Suspense integration facebook/react-native [plan]
- → Update CI pipelines referencing facebook/react-native GitHub org to react/react-native facebook/react-native [immediate]
- → Monitor for viewState exceptions in Fabric mounting if you're on older versions facebook/react-native [monitor]
References
- [1] [compiler] Remove OXC and SWC plugins in favor of them being handled by those projects ↗ facebook/react
- [2] 0.86.0 ↗ facebook/react-native
- [3] Handle missing viewState gracefully in SurfaceMountingManager.updateState and updatePadding (#57181) facebook/react-native
- [4] Cleanup flowconfig options in react-native (#57173) facebook/react-native
- [5] Update GH Actions references from facebook/react-native to react/react-native (#57167) facebook/react-native