This Week In React #166: Waku, React-Forget, React-Native, Expo, Million, Remotion, Next.js, Storybook, Remix...
Sebastien Lorber
Posted on December 15, 2023
Hi everyone!
This has been a quite exciting week in terms of news!
We had a few great React releases and articles. It's great to see React-Forget slowly being rolled out on Instagram. Remotion also started to demonstrate its full potential with the GitHub Unwrapped launch.
React-Native is on fire, with v0.73 stable, Expo SDK 50 and Expo Router v3 in beta and a few other great releases. What excites me most is Expo gradually unveiling its plan to support Universal React Server Components.
This week's issue is quite special for me: it's the very first time I'm not alone writing the content. Benedikt almost wrote the entire React-Native section. I haven't used React-Native in production since 2020 π so it's nice to have someone using all the cutting edge libs help me provide relevant insights.
Don't forget to fill in the State of JavaScript and State of React-Native surveys. And if you could mention me at the end that's cool! Theo T3 shows you how π
π‘ Subscribe to the official newsletter to receive an email every week!
πΈ Sponsor
MightyMeld launches visual dev tool to accelerate React development
A new kind of dev tool for React just opened its beta. See your JSX and styles in action while running your build. Hop quickly to your favorite editor. Use dragβnβdrop and generative AI to update your app. As you work, MightyMeld generates clean code ready to merge as part of your PR. Free to use.
βοΈ React
Waku - Minimal React Framework that enhances React Server Component usage
We already featured this one, but the v0.18 rewrite is out, and includes a little introduction blog post.
Waku is a minimal React framework that allows us to explore the core RSC capabilities, free from the traditional SSG/SSR strategies. Technically it is a Vite-based bundler that outputs pure JS and supports deployment to edge runtimes. Now sponsored by Vercel.
- πΈ Developer Nation Survey - For each completed response, Developer Nation will donate to one of the charities of respondentsβ choosing! Start now!
- πΏ Remotion - GitHub Unwrapped 2023: this year Remotion partnered with GitHub to produce the GitHub Unwrapped video (here is mine). A great showcase for the type of videos that can be produced using React.
- π¦ React hydration error diff demo: revival of interest for this much needed feature (new React PR).
- π¦ Tanner Linsley about React concurrent model vs reactive model: on the difficulty to get the benefits of both models at once. Tanner finally migrated the upcoming TanStack Router to a reactive model (visual demo).
- π¦ Next.js moving away from extending
fetch()
, adding new APIs likenoStore()
- π Next.js - Updated Server Actions docs - Includes how to use them outside forms, security recommendations, and best practices
- π Next.js React Foundations updated with App Router and Server Components
- π A Chain Reaction: Dan Abramov is back with great storytelling lesson through the implementation of a recursive function that renders JSX to platform elements.
- π Next.js 14: Layouts vs Templates: templates are remounted on navigation and reset their state.
- π Storybook for React Server Components: Storybook 8 is now in alpha. In includes experimental Next.js RSC support. In practice RSCs will run client-side and you have to mock networks and Node.js APIs.
- π The anatomy of shadcn/ui: gives a great overview of the popular Radix + Tailwind lΜΆiΜΆbΜΆrΜΆaΜΆrΜΆyΜΆ, and how it assembles various packages to provide a good DX.
- π How to set up self-healing URLs in Next.js for better SEO: shows how to create Next.js urls that are both human-readable and include a stable id. You can change the article title/url without breaking old links.
- π Remix - Submit a form without overwriting existing parameters: suggests to use a
<ExistingSearchParams>
to append existing params to the form. - π Polymorphism in React - 2 patterns you must know
- π Lexical state updates
- π¦ React DevTools 5.0 - New React-Forget badge: new feature permits to see Meta's rollout of React-Forget in production on Instagram (ref).
- π¦ Million.js 3.0 - Overhauled version, faster drop-in replacement
- π¦ AuthKit - The world's best login box powered by WorkOS and Radix
- π¦ react-hook-form 7.49 - react-server bundle, reactive errors prop...
- π¦ Next-Admin 3.0 - App router support
- π¦ Epic Stack - Client Hints - Eliminate flashes of incorrect content
πΈ Sponsor
Open-source React Framework for building enterprise B2B apps
Refine streamlines the building of production-ready B2B apps like internal tools and dashboards.
It is designed to address the specific pain points of larger organizations, giving top priority to security and reducing repetitive tasks with its hooks and components.
Offers industry-standard solutions for critical project aspects like authentication, access control, routing, networking, and state management.
π± Visit complete CRM app template built with Refine.
π± React-Native
- π State of React-Native - Reminder to fill the survey!
- π§ RFC - Well-defined event loop processing model: proposal to bring the React Native event loop closer to the web specification.
- π¦ POC of multi-window apps support in React Native
- π¦ interpolate() in React Native Reanimated - visually understand extrapolation
- π Expo introduces canary releases
- π Expo EAS - Keep your cache close β Itβs Faster!: Expo cuts pod installation time by caching popular pods directly on their build VMs.
- π Integrate Firebase Analytics into Expo Router: unlike React-Navigation, Expo-Router is url-first, and you have to listen to pathname changes.
- π Creating a macOS MenuBar app with React Native
- π Epic Games vs Google - Trial Verdict, a Win for All Developers: might bring changes to the app stores rules regarding in-app-payment models and their 30% tax.
- π¦ React Native 0.73 with a new debugger intended to replace Flipper, stable Symlink support in Metro (important in monorepos) and a new Kotlin template for Android (+ Android 14 support).
- π¦ Expo SDK 50 beta: upgrades to React-Native 0.73, with a new Expo Dev Tools Plugin API, a complete rewrite of
expo-sqlite
, improvedexpo-camera
, a new library to figure out compatibility between a JS bundle and a particular native build (@expo/fingerprint
),expo-updates
hooks API, EAS updates/rollouts and much more. - π¦ Expo Router v3 beta: includes API routes, Bundle Splitting for web, and a ton of other new features. Universal React Server Components are coming to Expo!
- π¦ Reactotron 3.0: brings automatic tracking of all log messages, better Android device debugging, faster app launch time.
- π¦ React Native Skia - 3D transformations: William Candillon posted a π¦ demo
- π¦ React-Native-Unistyles 2.0
- π¦ react-native-permissions 4.0 - iOS 17, Android 14 support
- ποΈ Galaxies - Rocket Ship: recent React-Native focused podcast worth discovering
π Other
- π Baseline 2023 - All new cross-browser supported APIs - Displayed on on caniuse
- π CSS Wrapped - 2023 was a huge year for CSS!
- π WebKit Features in Safari 17.2 - exclusive accordions, CSS nesting, maths, animations...
- π Does Interaction to Next Paint actually correlate to user behavior?
- π The TypeScript 5.3 Feature They Didn't Tell You About - as const satisfies
- π Ternaries could be beautiful - A new proposal for Prettier formatting
- π Improving Node.js loader performance
- π¦ Seroval 1.0 - Stringify JS values
- π¦ Oxlint - General Availability
π€ Fun
See ya! π
Posted on December 15, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 28, 2024
November 18, 2024