Jasper Disney
68 posts

Jasper Disney
@jasper_disney
Turning Ethereum into a theme park @upon_ly without permission. The fun’s in the app, not the domain. Used to make kids smile @WaltDisneyWorld.

The standard fetch in React Native is a JavaScript polyfill. Every response gets parsed, decoded, and wrapped in JS before you touch it. react-native-nitro-fetch, developed by the team at Margelo, just hit its 1.0.0 milestone, a drop-in replacement for the standard Fetch API, built on the Nitro Modules core. 𝗪𝗵𝗮𝘁'𝘀 𝗵𝗮𝗽𝗽𝗲𝗻𝗶𝗻𝗴? React Native's built-in fetch is a spec-compliant JavaScript implementation sitting on top of the platform's native networking stack. That means every response goes through JS-side decoding, Response/Blob wrapping, and text parsing before your code sees a single byte. For small JSON payloads, it's fine, but for large responses, streaming, or anything latency-sensitive, that JS work adds up. react-native-nitro-fetch moves that pipeline into C++. By leveraging Nitro's JSI-based architecture, response handling happens natively and hands off to your JavaScript with zero serialisation in between. 𝗪𝗵𝘆 𝗶𝘁 𝗺𝗮𝘁𝘁𝗲𝗿𝘀? ➡️ 𝗗𝗿𝗼𝗽-𝗶𝗻 𝗥𝗲𝗽𝗹𝗮𝗰𝗲𝗺𝗲𝗻𝘁: It follows the standard Fetch API specification, meaning you can often switch libraries just by changing your import statement without rewriting your logic. ➡️ 𝗡𝗶𝘁𝗿𝗼-𝗣𝗼𝘄𝗲𝗿𝗲𝗱 𝗦𝗽𝗲𝗲𝗱: By using C++ and Nitro Modules, it bypasses the traditional bottlenecks of the React Native bridge for significantly faster response parsing. ➡️ 𝗦𝘁𝗿𝗲𝗮𝗺𝗶𝗻𝗴 𝗦𝘂𝗽𝗽𝗼𝗿𝘁: It supports efficient body streaming, which is a game-changer for handling large datasets or real-time AI responses without spiking memory usage. ➡️ 𝗧𝘆𝗽𝗲 𝗦𝗮𝗳𝗲𝘁𝘆: Since it’s built with Nitro, it integrates seamlessly with TypeScript, ensuring that your network layer is as robust as the rest of your app. The release of 𝟭.𝟬.𝟬 marks a shift toward making React Native networking as performant as native code. If you’re building data-heavy applications or just want to shave those extra milliseconds off your load times, it's worth a look. #ReactNative #NitroModules #Networking #Performance #MobileDev #JavaScript #TypeScript #OpenSource #SoftwareEngineering #Margelo #API #WebDev






stamp design, illustration made in midjourney

These chairs aren’t even worth $200


How to make scrollbars not suck scrollbar-width: thin; scrollbar-color: gray transparent;



Linear: We need to move beyond the generic chat format Also Linear:














