DEV Community

Cover image for This Week In React #277: TanStack RSC, React2Dos, Next.js, MUI, Base UI | Pulsar, Nitro Fetch, Flow, Agent React DevTools | HTML-in-Canvas, Yuku
Sebastien Lorber
Sebastien Lorber

Posted on • Originally published at thisweekinreact.com

This Week In React #277: TanStack RSC, React2Dos, Next.js, MUI, Base UI | Pulsar, Nitro Fetch, Flow, Agent React DevTools | HTML-in-Canvas, Yuku

Hi everyone, Seb and Jan here πŸ‘‹!

This week we finally have an experimental version of TanStack RSC! A new React DoS vulnerability affects Server Functions, so you probably need to upgrade React again. There are also important releases from the MUI team, and Styled Components is still alive!

On the React Native side, we got a new universal Haptics library, and a much faster fetch alternative. We heard VisionCamera 5 is around the corner.

Let's dive in!


πŸ’‘ Subscribe to the official newsletter to receive an email every week!

banner


πŸ’Έ Sponsor

The fastest Postgres + MySQL database

The fastest Postgres + MySQL database

PlanetScale Metal runs on blazing-fast NVMe in your favorite hyperscaler clouds. Get high-performance, reliability, and the best DX available for Postgres and MySQL.

Companies like Cash App, Cursor, and MyFitnessPal trust PlanetScale for their Tier 0 databases.

With PlanetScale, you get:

  • The best performance with local NVMe
  • AI integration with our MCP, skills, and automatic schema recommendations
  • Built-in query observability with Insights
  • Pricing from $5/mo

Migrate your database today


βš›οΈ React

TanStack - React Server Components Your Way

TanStack - React Server Components Your Way

Two weeks ago, we covered the TanStack Start RSC sneak peek that Tanner offered us at React Paris. And now, they are available as an experimental feature!

My highlights remain mostly the same:

  • Primitives: RSCs are supported through 3 primitive APIs that permit to manipulate RSCs as any other stream of data, immediately compatible with existing tools such as React Query, TanStack Router loaders, localStorage, CDNs and HTTP caches. It is entirely opt-in and does not impose a server-first approach nor any framework convention, giving you total freedom on how to compose those primitives.
  • Composite Components: The server renders a RSC with slots that get filled by the client. You don’t need ’use client’ directives, although they are supported. This new concept creates an explicit boundary between the server and the client. It should be possible to co-locate client/server components in the same file this way.
  • No Server Actions: A design decision for security reasons. Recent React CVEs affecting other RSC frameworks were due to Server Functions handling Flight payloads and don't apply to TanStack Start, as Jack Herrington explains in this video.

What strikes me is just how different this is from Next.js. It feels more like a library than a framework, and more in sync with the philosophy that initially attracted me to React.



πŸ’Έ Sponsor

Still writing tests manually?

Still writing tests manually?

Notion, Dropbox and LaunchDarklyΒ have found a new testing paradigm - and they can't imagine working without it.Β Built by ex-Palantir engineers, Meticulous autonomously creates a continuously evolving suite of E2E UI tests that delivers near-exhaustive coverage with zero developer effort - impossible to deliver by any other means.Β 

It works like magic in the background:

  • Near-exhaustive coverage on every test run
  • No test creation
  • No maintenance (seriously)
  • Zero flakes (built on a deterministic browser)

🀨 Curious? Book in a time to learn more


πŸ“± React-Native

Pulsar - Haptic Feedback Library

Pulsar - Haptic Feedback Library

Meet Pulsar, a new library from Software Mansion that makes implementing haptic feedback much easier. Comes with SDKs for React Native, native iOS, and Android. See also the intro video.

  • 150+ patterns to browse, filter, preview, and ship
  • Live Preview Playground app for testing on a physical device
  • Multiplatform SDKs
  • Audio preview for testing in a simulator
  • Pulsar Studio – coming later – will allow the design of custom haptic sequences


πŸ”€ Other


🀭 Fun

alt

alt

See ya! πŸ‘‹

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.