This Week In React #196 : Nitro Modules, use dom, macOS, Screens, Autolinking, Cocoapods, Corepack, Node.js, TypeScript...

Sebastien Lorber - Aug 16 - - Dev Community

Hi everyone!

This week, we welcome 2 new contributors to help ensure the continuity of the newsletter throughout the year, even when Seb takes a break.

Cyril and Matthieu from Theodo Apps (formerly BAM) here ๐Ÿ‘‹, filling in to bring you the latest news from the React and React Native worlds.

Itโ€™s a relatively calm week for React, with some ongoing discussions about the Suspense drama in React 19.

But React Native? Thatโ€™s where the real action is!\
From Expo demoing a way to integrate React DOM components to the exciting launch of React Native WebGPU, thereโ€™s plenty to talk about. Plus, weโ€™re diving into new approaches to native module development that are sure to shake things up. And React Native 0.75 is around the corner, we'll cover it next week!

Our partner conf reactjsday (๐Ÿ‡ฎ๐Ÿ‡น Verona - 25 October) is celebrating its 10th year by upgrading to 2 tracks (16 talks). Get a 10% discount with code "TWIR". Great speakers have already been announced: Matheus Albuquerque, Aurora Scharff, Dani Coll, and more!


๐Ÿ’ก Subscribe to the official newsletter to receive an email every week!

banner


๐Ÿ’ธ Sponsor

Make the most of your design system with StackBlitz

Make the most of your design system with StackBlitz

Your design system makes web development more efficient and consistent, but we know that building and maintaining it comes with no shortage of challenges. StackBlitz makes design systems easier to evangelize, maintain, and evolve. With StackBlitz you can:

  • ๐Ÿ“ˆ Increase adoption rates: Provide one-click instant environments your team can use to try internal libraries.
  • ๐Ÿ’ป Elevate developer experience: Include live code examples in your documentation.
  • ๐Ÿ› Improve bug reporting: Instantly filter out true issues and never spin up heavy local installations for a simple bug report ever again.
  • ๐Ÿค Simplify collaboration: Facilitate seamless collaborations across engineering, design, and other departments.

Ready to transform your design system workflow? Get started now!


โš›๏ธ React


๐Ÿ’ธ Sponsor

Statsig: Ship, Measure, Repeat

Statsig: Ship, Measure, Repeat

The feature management, A/B testing, and product analytics tools used by OpenAI, Notion, & Brex. Build better products by measuring everything you ship ๐Ÿš€

Install Statsig once and get:

๐Ÿงช A/B Testing: Automated experiments with advanced stats. Ship only the features that work

๐Ÿšฉ Feature Flags: Unlimited free flags and turn any flag into an A/B test with one click

๐Ÿฅ‡ Product Analytics: Track growth and measure feature impact. Conduct analysis by feature flag or A/B test group

๐ŸŽฅ Session Replays: Replay user interactions to understand experiences and frictions

๐ŸŒ Web Analytics: Drop a JS snippet for essential website metrics and dashboards

Get up to 2M free-tier events and 10K session recordings โ€” all for free!


๐Ÿ“ฑ React-Native

React Native WebGPU

๐ŸŽฅ React Native WebGPU

React Native WebGPU has just launched, offering a unified API to leverage the GPU for advanced graphics and computation in React Native! By reusing the Web API standard, we will be able to easily integrate existing WebGPU code samples and libraries, such as ThreeJS, directly into React Native.
Beyond just graphics, React Native WebGPU can be used for tasks like matrix computations, making it interesting for on-device machine learning algorithms. It's built using Nitro Modules for smooth Typescript to C++ interoperability. Currently, it's available in technical preview, signaling exciting developments ahead!


The Future of React Native Modules

Exciting times for React Native developers! Marc Rousavy is shaking things up with NitroModules, a new way to write native code ๐Ÿ“ฆ thatโ€™s blowing away existing solutions in speed tests. He's encountered some limitations with JSI in VisionCamera. The project is already stable on the C++ side and is already being used in various projects like ๐Ÿฆ react-native-unistyles and react-native-webgpu, with Swift and Kotlin bindings still in progress.

๐Ÿ‘€ Meanwhile, a new proposal to push the use of Swift for TurboModules has landed. These changes will ease native modules development by moving away from Objective-C and C++. With these updates, building native modules is about to get a whole lot better!



๐Ÿ”€ Other


๐Ÿคญ Fun

alt

See ya! ๐Ÿ‘‹

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .