The Wire · Showcase
React Flight strings get deduped
By RepoJournal · Filed · About Meta
React's server compiler just killed a silent payload bloat that's been fattening every client reference in the framework.
Dan Abramov's PR to React's Flight compiler [1] adds a dedupe map for strings in import metadata, ending the double-encoding that has been repeating the same bundler chunk URLs across every client reference, a problem called out in vercel/next.js#95559. The fix is a direct response to a real production pain point: large strings (>= 1024 chars) get outlined into binary text rows and never deduplicated, bloating every response. This is the kind of optimization that quietly shaves payloads on every request without changing any API. Separately, the team fixed sizebot [2], which had gone silent after its personal access token was revoked, leaving PR size comparisons missing. The rebuild uses the short-lived GITHUB_TOKEN minted per Actions run, so the bot should post again reliably. Take both changes: they land on the same memory and CI health. Flight's dedupe is the keeper for anyone shipping server components. The sizebot fix is a straight maintenance win.
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
- → Watch for the Flight dedupe patch in an upcoming React release and plan to test your server component bundles facebook/react [plan]
- → Acknowledge sizebot will resume posting; no action needed from maintainers facebook/react [monitor]
References
- [1] [Flight] Outline and dedupe repeated strings ↗ facebook/react
- [2] [ci] Rebuild sizebot on the GitHub Actions token ↗ facebook/react