Skip to main content

πŸ“¨ #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

Β· 15 min read
SΓ©bastien Lorber
Newsletter creator - Docusaurus maintainer
Jan Jaworski
React Native Developer

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!

As always, thanks for supporting us on your favorite platform:

Don't miss the next email!

    πŸ’Έ Sponsor​

    SurveyJS: A Form Builder That Matches Your App

    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

    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 - <Link prefetch="navigation"> 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

    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.

    Don't miss the next email!

      πŸ’Έ Sponsor​

      Meet NitroUI

      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

      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​

      Nitro UI and Lynx are fast. Meanwhile my mobile app: a floppy Pink Panther plush

      Use your tokens wisely: sweating over two buttons, fix React Native or build my own framework

      See ya! πŸ‘‹


      Don't miss the next email!