gem1129.bsky.social
gem1129.bsky.social
@gem1129.bsky.social
Reposted by gem1129.bsky.social
React Native's networking stack is based on native primitives:

🍏 iOS & macOS: NSURLRequest
🤖 Android: OkHttpClient
🪟 Windows: winrt::Windows::Web:Http

They implement XMLHttpRequest in JavaScript based on JS-native bindings to those, and from there, they use whatwg-fetch to polyfill fetch().
February 5, 2025 at 6:17 AM