The Wire · Showcase
REACT NATIVE CLEANS UP CLI INTERNALS ACROSS 4 COMMITS
By RepoJournal · Filed · About Meta
Alex Hunt's team dropped legacy dependencies and reorganized the dev server stack to make react-native.config.js a thin routing layer.
React Native removed its local dependency on `react-native-community/cli-server-api` Flow types, eliminating a transient dependency that leaked into end user projects [1]. The same push relocated codegen and spm command wrappers out of react-native.config.js and into the community-cli-plugin package, continuing a larger refactor to move command definitions away from the root config [2]. Alex Hunt also restructured CLI plugin server modules under a new src/dev-server/ directory, renaming internal files like middleware.js to loadCommunityMiddleware.js for clarity, though the public startCommand export stayed unchanged [3]. A debug log was promoted to a user-facing warn across several features in RN that depend on this cleanup [1]. George Zahariev deployed version 0.324.0 to xplat in parallel, keeping the ecosystem coordinated [4].
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 react-native.config.js routing in your app after the next version bump facebook/react-native [plan]
- → Watch for the warn log messages about RN features that depend on the new CLI structure facebook/react-native [monitor]
References
- [1] Drop legacy cli-server-api reference in dev server (#57653) facebook/react-native
- [2] Move codegen and spm command wrappers into community-cli-plugin (#57652) facebook/react-native
- [3] Relocate CLI plugin server modules (#57654) facebook/react-native
- [4] Deploy 0.324.0 to xplat (#57689) facebook/react-native