π¨ #179: useActionState, Redwood, Waku, Astro, Pre-rendering, Bun, Kotekan, memo, Radix, shadcn/ui, React-Navigation, RN-Screens, CodePush, VisionOS, TypeScript, Node.js...
Hi everyone!
Another week full of interesting news! I found many links, and saved a few of them for next week, which should be a quiet one due to Easter Monday.
It's exciting to see Waku and Redwood becoming stronger meta-frameworks, and new innovative experiments built on top of Bun such as Kotekan and a pre-rendering macro.
React Native also has interesting updates, notably a React Navigation v7 sneak peek, and a nice React Native Screen upgrade.
I was at React.paris last week. It was a really great conf, and it was nice to meet some of you! It's great that Paris is finally back in the React conf game.
The party is not over, because next month we also have React Connection and React Native Connection on 22-23 April in Paris! The newsletter is once again a conf media partner. You can get a -20% discount with the code "TWIR", and we'll run a ticket giveaway on Twitter this Friday.
π‘ Check this newsletter on Twitter - visual format π¨
As always, thanks for supporting us on your favorite platform:
- π¦ Bluesky
- βοΈ X / Twitter
- π LinkedIn
- π½ Reddit
Don't miss the next email!
πΈ Sponsorβ
React-admin: The Open-Source Framework for B2B apps
With 23k stars and 500,000 daily users, react-admin is the framework of choice for single-page applications (ERPs, Admins, B2B apps). Compatible with Vite, Next, and Remix, it builds upon acclaimed libraries like react-hook-form, react-query, react-router and material-ui to accelerate your development game.
π Key characteristics include:
- π Backend agnostic: Connects to any REST or GraphQL API
- 𧩠Rich library with over 200 application building blocks
- π Complete customization: Replace any component with your own
- π» Great developer experience
- π Amazing user experience
Join React-adminβs community today and witness firsthand why it's the framework of choice for thousands of developers worldwide! Try it now, it is free, forever! π
βοΈ Reactβ
React Server Components now in RedwoodJS
Bighorn, the next Redwood βepochβ starting at v8.0, will bet all-in on React Server Components. This article explains why Redwood now prefers RSCs over GraphQL, which wasnβt the best DX to get started with for most devs and projects. GraphQL will remain supported and can be used alongside RSCs in the same app. Redwood Cells now allow you to export a new βdataβ function to load the Cell data.
You can try Redwood Bighorn today as a v8 canary release, but there are still many rough edges mentioned in the blog post, that theyβll fix before the official major release. Thereβs another interesting article to read comparing Redwood routing conventions to Next.js and Remix.
- πΈ React Universe Conf - We care about a diverse lineup, so we prolong our CFP until April 5. We encourage all women in tech to submit talks!
- π React Core PR - useActionState: The PR is now merged and has been added to the canary changelog.
- π¬ Astro proposal - Form actions: Astro is exploring options for form submissions and mutations to feed their new Astro DB product, taking into consideration React 19 islands using useActionState() and useFormStatus().
- π¦ Sebastian Silbermann (React core team) joins Vercel
- π Remix new docs - CSS files
- π Power of Partial Prerendering with Bun: An interesting idea, using import attributes to pre-render React components thanks to a Bun macro.
- π A faster React.memo(): Argues that React is using a generic shallowCompare function for React.memo() that could be greatly optimized by using a specialized comparison function that assumes the things to compare are React props.
- π What is a layout in React?: A good overview presenting how layouts are implemented differently in Remix, Next.js, or Astro.
- π Diving into the Node.js Website Redesign: Node.js just launched a new Next.js website and shares behind-the-scenes details. They considered Nextra but settled on a custom Next.js setup. The site is statically built, using ISR for dynamic content.
- π This Pattern Will Wreck Your React App's TS Performance: Matt recommends using βinterface extendsβ instead of β&β, drawing on the story of a Sentry TS perf issue.
- π Utilizing useOptimistic() across the component tree in Next.js: Explains why and how to share the useOptimistic value through a React context.
- π Why I Like React (even in 2024)
- π Building a Β«hold to confirmΒ» button with Framer Motion
- π React useEffect and objects as dependency - 4 approaches to avoid unnecessary re-renders
- π React-Three-Fiber - Moebius-style post-processing and other stylized shaders
- π How to Build Your Own ChatGPT Clone Using Clerk & AWS Bedrock
- π Exploring useSyncExternalStore, a lesser-known React Hook
- π Remix Case Study - Shopify rebuilding Shop with Remix
- π¦ Waku 0.20 - Introducing βpages routerβ: Waku continues to push toward becoming a first-class React meta-framework. The latest release adds a lightweight file-based router and the introduction article presents its conventions. You can choose between static or dynamic rendering on a per-page basis.
- π¦ Kotekan - A simple React framework built on Bun, supporting React Server Components: My co-author Benedikt created his own experimental meta-framework, supporting React Server Components. Unlike other frameworks trying to stay decoupled from a specific runtime, Kotekan leverages tight coupling with Bun for both bundling and runtime. It looks like other interesting things are not mentioned in the intro post, notably a mobile app demo using react-strict-dom and StyleX. Thatβs impressive that the website is already built with it.
- π¦ Radix Themes 3.0: This new version adds custom color palettes, many new components, and a new layout engine.
- π¦ shadcn/ui update - Blocks: Fully responsive, accessible, and composable ready-made components, starting with dashboard layouts and authentication pages.
- π¦ @vite-pwa/remix - Zero-config PWA Plugin for Remix
- π¦ Remotion 4.0.130 - Lambda renders are now faster
- π₯ Jack Herrington - Finally Fix Your Issues With JS/React Memory Leaks
- π₯ UI Engineering - Senior-Level Understanding of React Portals
- π₯ Theo - The End Of React Router
- π₯ James Quick - I Didn't Know Next.js Server Actions Could Do This (usage outside forms)
Don't miss the next email!
πΈ Sponsorβ
The only auth platform you need for enterprise clients
WorkOS is a modern identity platform built for B2B SaaS.
β‘ Open-source login UI powered by Radix components, offering all the customizability you need
βοΈ Support for more complex features like single sign-on (SSO) and SCIM provisioning
β¨οΈ Flexible and easy-to-use APIs, helping companies like Vercel, Loom, and Webflow offer enterprise-grade auth in minutes
π° User Management that is free up to 1 million monthly active users
Get started with WorkOS βοΈ
π± React-Nativeβ
This section is now co-authored with Benedikt. Feel free to send us your comments by email or on Twitter!
React Navigation - Introducing Static API
Arguably one of the most used and most important React Native libraries out there is React Navigation. The current major version (6) was introduced roughly three years ago, and now it seems weβre getting closer to the next major release. With v7 (currently in alpha), React Navigation is (re-)introducing a static API, which lets you define screens from an object configuration. This allows type inference (if youβve ever created types for a dynamic React Navigation tree you know what that relieves you of) and also makes deep linking config easier (or partly automatic, even).
Make sure to also read the v7 upgrade guide if you want to know about other changes coming!
- πΈ Omlet - Measure React Native component usage in production. Track adoption and get data for codebase improvements in <5 minutes setup
- π¦ React Native Server Components on visionOS demo
- π Building multi-window applications with React Native visionOS: Learn how to not only enable multiple windows in visionOS apps, but also how to share React state between them.
- π Expo - How to replace App Center and CodePush: As reported last week, CodePush is shutting down on March 31, 2025.
- π Two Expo case studies: Win your March Madness bracket with this Expo app and incident.io harnesses the power of native modules and CNG
- π Rethinking Layout Practices - A minimalistic Stack component that sets the foundation for doing layout well: Interesting take: Never layout using padding or margin on Text or View components and instead introduce a Stack component (Tamagui does this for example).
- π Optimize Your React Native Appβs JavaScript Bundle: The title doesnβt give it away, but this is an interesting overview of alternative bundlers for RN. Sadly, all of these still have pretty big trade-offs compared to Metro.
- π How To Add Social Auth With AWS Amplify And React Native?
- π Optimize React Native Apps' Battery Drain With Mobile-Dedicated Libraries
- π How Can Higher-Order Components Improve Performance of React Native Apps?
- π¦ @dev-plugins/redux: Plugin for Expo Dev Tools to debug Redux stores.
- π¦ react-native-screens 3.30.0: Now includes a "go back" gesture and supports visionOS
- π¦ react-native 0.74.0-rc.5
- ποΈ RNR 292 - RNR Explains: Metro Bundler
- π₯ Theo - The New React Native Architecture
- π₯ Rocket Ship 35 - React Native Skia with William Candillon
- π₯ Simon: Build a FinTech Clone with React Native (API Routes, Zustand, Tanstack Query, FaceID, Charts, Clerk): Usually we pick short, but valuable videos to save you time. This one is over 5Β½ hours long(!), but I highly recommend it if you want to observe a state-of-the-art RN app build from start to finish.
π Otherβ
- π TypeScript Flow Nodes - How Type Inference Is Implemented
- π Optimizing Javascript for fun and for profit
- π Why TypeScript Doesn't Include a throws Keyword
- π JavaScript Visualized - Promise Execution
- π Astro - Migrating 500+ tests from Mocha to Node.js
- π Kuto, a reverse JS bundler
- π¦ VitePress 1.0 - Vite & Vue Powered Static Site Generator
- π¦ Microsoft TypeChat 0.1 - Get structured output from AI language models
- π₯ Node.js - The Documentary
- π Runtime Compatibility - Display APIs compatibility across different JavaScript runtimes
π€ Funβ
See ya! π
Don't miss the next email!