βš›οΈ This Week In React #308: Next.js, Storybook, Security, RSC, INP, Hyper Elements, GTKX, RTK, Immer, Jotai | NitroUI, Expo Router, Fabric, RTL, DevTools, Zalando, Safe Areas, Metro, Agents | Effect, Vite, CSS, Node.js, tidy, Rolldown


β€‹πŸŒ Read Online ​

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

This week, Next.js 16.5 dropped just in time for our email, with much faster Turbopack builds and experimental native language support. Storybook 11 is all about agents.

On mobile, Margelo announced NitroUI, a new framework that renders real native views with React. Expo Router 58 rebuilt its navigation core for concurrent React, with Transitions and Activity. Zalando doubles down on React Native. There are also a few new RFCs to look at, and the usual stream of agent tooling releases.

Elsewhere, CSS mixins are coming in Chrome/Edge. Effect UI is a new frontend library based on the Elm Architecture. Tidy is a new Rust formatter with the same output as Prettier.

Let's dive in!

πŸ’Έ Sponsor

​SurveyJS: A Form Builder That Matches Your App​

Your application has its own UI, design system, and workflows. Why should your form builder look and behave like a third-party tool?

Embed SurveyJS into your React app (including SaaS products) and make it your own. Use theme adapters for MUI, shadcn/ui, and Bootstrap to match your existing styles. Customize the form builder's toolbox, tabs, and settings panel with the UI Preset Editor. Add custom inputs, validation rules, and settings when the defaults aren't enough.

Under the hood, forms are JSON-driven and independent of application code. Keep your own backend, database, and hosting, with no per-end-user fees.

Also supports Angular, Vue 3, and plain JavaScript.

​Explore SurveyJS libraries​

βš›οΈ React

​Next.js 16.5 - Faster Turbopack builds, cross-deployment caching, Go Route Handlers​

Next.js 16.5 is out, just in time for tonight's Next.js Nights event in Berlin. Key highlights include:

  • Faster Turbopack builds - On Vercel's dashboard, cold compilation is ~4.2x faster and uses 38% less memory. Turbopack's garbage collector is now on by default.
  • Cross-deployment caching - 'use cache: remote' functions reuse the cache entries of the previous deployment when their code and dependencies haven't changed.
  • Bundle reports during builds - next build --analyze generates the report from your production build, with no second compilation.
  • Per-link navigation prefetching - also prefetches the cached content that the recent await navigation() API would normally exclude from prefetches.
  • Automatic upgrades in CI - next upgrade --ci sets up a GitHub Actions workflow where a coding agent upgrades your app and opens a PR when a new release ships.
  • Experimental safe mode for image optimization - Memory-safe decoders and sandboxing for untrusted images.
  • Experimental Go Route Handlers - Add a route.go file next to your TypeScript routes, and Turbopack compiles your Go routes into a single native executable. It's the first step of native language support: the Next.js team is also rewriting next start in Go, and an experimental flag already lets it call Go routes without going through Node.js, for much higher request throughput. The goal is to move routing, static assets, ISR and caching to Go too, so self-hosted apps get faster even without Go routes. Other languages like Rust come next.

​Storybook 11 - The shared UI workshop for humans and agents​

The new major version is all about agents. Official skills let your coding agent learn your components, write stories, run them as component tests in a real browser, and fix what fails. A new UI review page then shows you only the UI states the agent changed. The skills work even without a running Storybook, so agents can work in parallel in git worktrees.

Other key highlights include:

  • Headless CLI - npx storybook tools gives you and your agents fast access to docs and stories, to build your own workflows.
  • Type-safe CSF 4 stories - The factory API (preview.meta(), meta.story()) removes type casts, and addons can extend the types. Migrate with npx storybook automigrate csf-factories.
  • Agent-ready docgen - Component data for React, Vue, Angular, Web Components and Svelte.
  • Smaller and faster - A 29% smaller package, and context delivery up to 19x faster than v10.

πŸ’Έ Sponsor

​Meet NitroUI​

NitroUI is Margelo's next-generation framework for building native iOS and Android apps with React. The renderer has been designed from the ground up to render real native views, recycle List cells and pre-process TextInputs fully synchronously on the UI Thread.

Most core modules are pre-compiled with Static Hermes FFI, which drastically speeds up rendering and app launch times. Nitro V1 powers the bridge between JavaScript and native and exposes native components or modules with minimal overhead.

Ask your agent to get started with NitroUI today!

πŸ“± React Native

​Expo Router 58: even more native​

Expo Router 58 rebuilt its navigation core: navigation state used to live in individual navigators and require constant synchronization, but now it's driven by a single global state and reducer. The new architecture enables concurrent React features, lazy layouts, and screen error boundaries, while keeping the public API largely unchanged for most apps. The Router APIs for Transitions and Activity are still experimental: their names and options may change, but the behavior is ready. For most apps, the upgrade should be mostly mechanical.

The server features graduate from experiment to default: data loaders, server rendering and middleware no longer need unstable_ flags. Loader responses now use the platform's HTTP cache, and pending loader requests are canceled when you navigate away from a route. With web.output: "server", HTML is now rendered on every request instead of at export time.

Other key highlights include:

  • React Transitions - the current screen stays visible while the next one loads, instead of showing a loading state. On by default for preloading only. Enable them per navigation with inTransition, or globally.
  • React Activity (opt-in) - with activityEnabled, off-screen routes are frozen without losing their state, with subscriptions and timers paused until they become visible again. Works in Stack and NativeTabs.
  • Native by default - Native Tabs and the Toolbar are now stable. Stack headers get the iOS 26 Liquid Glass look by default. Being native, these components already adapt to iPhone Duo.
  • Smaller bundles - Hermes and assets are ~33% smaller. Async routes are now on by default on the web. The experimental granular chunking mode further reduces the JavaScript needed for each route's first load.
  • Breaking change - the experimental web modal API is removed. A new guide shows how to build custom modals instead.

πŸ”€ Other

🀭 Fun

See ya! πŸ‘‹

βš›οΈ This Week In React

πŸ”₯ Keeps React and React-Native experts up to date! Join 34k+ devs for one email per week.

Read more from βš›οΈ This Week In React

🌐 Read Online Hi everyone, Seb and Jan here πŸ‘‹! This week, Ricky Hanlon leaves Meta after 8 years on React. React Router fixed 7 vulnerabilities, and an automated React2STEAL campaign is leaking secrets from unpatched React and Next.js servers. TanStack Query shared its v6 roadmap. Next.js is experimenting with a Go server. On mobile, Reanimated 4.8 makes Shared Element Transitions stable. An RFC proposes a platform-agnostic React Native core, to make out-of-tree platforms easier to maintain....

🌐 Read Online Hi everyone, Seb and Jan here πŸ‘‹! This week Vercel released the UI SDK: headless behaviors that your agent combines to build your own components. We also have an interesting experiment to stop sending static RSC markup twice. Also, various interesting releases such as Fate 2.0, React Flow 13, React Virtualized 10. On mobile, Expo launched Cloud Simulators that any agent can drive, and Exact introduced its build and install services. Elsewhere, Solid 2.0 is finally out. Webpack...

🌐 Read Online Hi everyone, Seb and Jan here πŸ‘‹! This week, X explained how it rebuilt its flagship app with streaming SSR, Suspense and Relay. e18e launched independent benchmarks for 9 meta-frameworks. On mobile, Discord follows Shopify and leaves React Native for native and Rust. Meanwhile, Expo’s co-founder previewed Exact, an agent-native app framework written in Rust. We also have many releases: Audio API 1.0, Bottom Sheet 0.18, Keychain 11, Gesture Handler 3.5… Elsewhere, Node.js shipped...