The Wire · Showcase
REACT NATIVE TIGHTENS TYPE SAFETY AHEAD OF STRICT TYPESCRIPT ROLLOUT
By RepoJournal · Filed · About Meta
The team is systematically replacing private type references across the codebase to prepare for a breaking TypeScript API migration that will affect every component ref in production.
React Native's Strict TypeScript API rollout is moving forward with foundational work on type consistency [1]. The first wave targets Fantom tests, which were using private HostInstance types that won't survive the migration. This is the infrastructure work that precedes the breaking change, so expect similar PRs across other test suites in the coming weeks. Separately, Android DevTools got a fix [2] for a longstanding blind spot: FormData uploads and one-shot file transfers now show actual payload previews instead of the generic "[Preview unavailable]" message. This unblocks debugging of the most common file upload patterns. The two efforts are happening in parallel but independent - one is cleanup for the type system, the other is purely UX improvement for developers on Android.
Action items
- → Review your component ref types now if you use Flow or manual TS definitions - they will change when Strict TypeScript lands facebook/react-native [plan]
- → Test FormData uploads on Android DevTools if you ship file handling - the preview now works facebook/react-native [monitor]
References
- [1] Replace use of private HostInstance types in Fantom tests (#56947) facebook/react-native
- [2] Fix (android): show payload preview for FormData and one-shot uploads in DevTools (#55764) (#56742) facebook/react-native
FAQ
- What changed in Meta on May 24, 2026?
- The team is systematically replacing private type references across the codebase to prepare for a breaking TypeScript API migration that will affect every component ref in production.
- What should Meta teams do about it?
- Review your component ref types now if you use Flow or manual TS definitions - they will change when Strict TypeScript lands • Test FormData uploads on Android DevTools if you ship file handling - the preview now works
- Which Meta repositories shipped on May 24, 2026?
- facebook/react-native