npm / react-native-url-polyfill
react-native-url-polyfill
What changed in react-native-url-polyfill 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 breaking1 new APIs and options1 performance
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-native-url-polyfill 43 changes
Breaking changes 1
The purpose-built implementation has stronger standards compliance; applications relying on undocumented quirks of the previous implementation should verify their URL handling.
New APIs and options 1
Adds URL.parse(), which returns a parsed URL or null when the input is invalid.
Performance 1
The polyfill is substantially smaller and faster on Hermes, reducing added bundle size by 65.1% compared with v3.0.0.