The Wire · Showcase
REACT SERVER DOM TURBOPACK GETS DYNAMIC CHUNK MERGING
By RepoJournal · Filed · About Meta
React's Turbopack integration now supports an experimental array format that lets you dynamically merge or unmerge chunks based on what's already loaded in the browser.
The new chunk format [1] introduces a union type that pairs chunk URLs with metadata about path dependencies and loaded chunks, enabling smarter bundling decisions at runtime. This is the foundation work behind Next.js's forthcoming optimization [1], which will let frameworks ship fewer bytes by consolidating chunks intelligently. Meanwhile, React's Flight layer got a performance boost [2] that caps development stack traces at 10 frames during JSX call site reconstruction, cutting overhead for teams relying on detailed error context. On React Native, the team dropped the chrome-launcher dependency [3] after Expo flagged it as a papercut, removing duplicate code and lightening the core package. The same team also fixed Android RTL direction detection [4] to read from the active device locale instead of an arbitrary system locale, solving a layout bug that affected internationalized apps.
One email a day. Unsubscribe in one click.
What actually shipped in Meta, written up every day — commits, pull requests, releases, and security advisories.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Turbopack chunk format migration if you maintain server-side rendering infrastructure facebook/react [plan]
- → Bump React Native if you support Android with RTL layouts facebook/react-native [plan]
References
- [1] [react-server-dom-turbopack] Support experimental array format for chunks (#37095) facebook/react
- [2] [Flight] Limit fake JSX call site stacks to 10 frames (#37086) facebook/react
- [3] Drop chrome-launcher dependency (#57630) facebook/react-native
- [4] fix(android): use the active locale to detect RTL direction (#57635) facebook/react-native