This Week In React #203: DevTools, Next.js, Skia, Native Tabs, Godot, CodePush, void(0), Oxc, Node.js, Tauri...

sebastienlorber

Sebastien Lorber

Posted on October 3, 2024

This Week In React #203: DevTools, Next.js, Skia, Native Tabs, Godot, CodePush, void(0), Oxc, Node.js, Tauri...

Hi everyone!

This week we have a lot of interesting news and releases!

There's notably an important terminology change for Server Actions, and a preview of upcoming React DevTools v6.

On the React Native side we also have a broad set of interesting news and previews of exciting packages!

Also, my meme game is back. You'll understand at the end ๐Ÿ˜‚

Check our partner conf React Day ๐Ÿ‡ฉ๐Ÿ‡ช Berlin (13 & 16 December). Get a 10% discount with our code TWIR.


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

banner


๐Ÿ’ธ Sponsor

Track {React} components & reduce tech debt with Omlet.

Track {React} components & reduce tech debt with Omlet.

Uncover how React components are being used across your dev teams. With Omlet you get full visibility into your component library to prove your design system's business value, reduce tech debt, and track adoption across projects. Omlet helps you identify where legacy components are hiding, spot unused props, improve your component library, and simplify migrations.

Generate actionable reports in less than 5 minutes. Analyze code usage and see the impact of your design system over time.

Try Omlet for free today and maintain cleaner code: omlet.dev


โš›๏ธ React

Server Actions have been renamed to Server Functions

Server Actions have been renamed to Server Functions

Itโ€™s not a code change, but itโ€™s an impactful terminology change that is now officially published on the React v19 docs site. Server Actions are now considered a subset of a broader Server Function feature. It only becomes an action when used within:

  • <form action>
  • useActionState()
  • startTransition()

This change clarifies that โ€œuse serverโ€ is about exposing a server endpoint, not necessarily limited to mutations. Fetching data and JSX with Server Functions might not be an anti-pattern after all.

About Next.js Server Actions: they use POST requests and run sequentially, but this is a Next.js implementation detail and React doesnโ€™t prevent you from running actions in parallel. The Next.js team has confirmed their intention to introduce new APIs to call Server Functions with GET.


React DevTools 6.0

React DevTools 6.0

The React DevTools have been the focus of a lot of work recently, notably the ability to present a unified easy-to-understand React tree for Server and Client components. The browser extensions have not been published, but the v6 changelog is available with many PRs and screenshots to look at. From what I see, the team has done an incredible work to provide a great DX around element inspection, profiling, logging, stacktraces, sourcemaps.



๐Ÿ’ธ Sponsor

WorkOS: Modern Identity Platform for B2B SaaS

WorkOS: Modern Identity Platform for B2B SaaS

With WorkOS you can start selling to enterprises with just a few lines of code.

๐Ÿ” WorkOS AuthKit supports a complete user management solution along with SSO, SCIM, RBAC, & FGA.

๐Ÿ—๏ธ The APIs are flexible, easy-to-use, and modular. Pick and choose what you need and integrate in minutes.

๐ŸŽจ Design and user experience are everything. From the quality of our documentation to how your users onboard, we remove all the unnecessary complexity for developers.

โœจ AuthKit is free up to 1 million MAUs and includes bot protection, MFA, RBAC, & more.

๐Ÿค WorkOS is trusted by hundreds of leading startups like Perplexity, Vercel, & Webflow.

Get started with WorkOS ๐Ÿš€


๐Ÿ“ฑ React-Native


๐Ÿ”€ Other


๐Ÿคญ Fun

alt

alt

alt

See ya! ๐Ÿ‘‹

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
sebastienlorber
Sebastien Lorber

Posted on October 3, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ยฉ TheLazy.dev

About