Hi everyone!
Another calm week in the React world. No huge announcement, but many great community articles to read.
Node.js v22.6 is out with experimental TypeScript support! π
Check our partner React Universe Conf (π΅π± WrocΕaw - Sept 5-6), formerly named React Native EU. Get a 10% discount with code "TWIR". They really have a stunning speakers lineup this year!
π‘ Subscribe to the official newsletter to receive an email every week!
πΈ Sponsor
WorkOS: Modern Identity Platform for B2B SaaS
With WorkOS you can start selling to enterprises with just a few lines of code.
πΒ WorkOS AuthKit supports a complete user management solution along with SSO, SCIM, RBAC, & FGA.
ποΈΒ The APIs are flexible, easy-to-use, and modular. Pick and choose what you need and integrate in minutes.
π¨ Design and user experience are everything. From the quality of our documentation to how your users onboard, we remove all the unnecessary complexity for developers.
β¨Β AuthKit is free up to 1 million MAUs and includesΒ bot protection, MFA, RBAC, & more.
π€ WorkOS is trusted by hundreds of leading startups like Perplexity, Vercel, & Webflow.
Get started with WorkOSΒ π
βοΈ React
- πΈ Reactile β a new approach to React-based web apps. Create your own views. Let it handle your windows and widgets in a single browser tab
- π¦ Zuckerberg calling out React as one of Metaβs major open source initiatives
- π¦ Visual editing with ReactBricks using RSC
- π Revised βRedux Essentials" tutorial
- ποΈ React-Africa - π²π¦ Casablanca - 29 November - Line up is online, check, and apply a 10% discount on tickets with code TWIR !
- π React Compiler, How Does It Work?: A 4-part series going really deep on the React Compiler code, explaining the Babel Plugin, useMemoCache, HIR/SSA transformations. Thatβs a lot of implementation details to read, and very technical, but there are also great overviews that describe the main algorithms at the end of each post. It operates on individual functions, with an AST βloweredβ to a Hight-level Intermediate Representation (HIR) that also permits to decouple the compiler from Babel. A quite advanced piece of technology!
- π Avoiding premature abstraction with Unstyled React Components: Sam refactors a concrete Form button to a headless LoadingButton abstraction that remains flexible and doesnβt prematurely abstract styling. I agree, and once time comes you can still create another styled abstraction on top.
- π Common Sense Refactoring of a Messy React Component: Alex explains his process to refactor a bloated real-world Form component. I do the same: extracting sub-components, custom hooks, and helper code from the main component usually improves clarity.
- π Introducing XState Store: Dominik (React Query) likes Zustand, but explains why he now finds XState Store a more compelling option. Itβs quite similar but more opinionated (separate state/actions, event-drivenβ¦). Daishi answered you can get a similar interface with his new Zustand-xs middleware. I explained (tweet) why Iβm not always a fan of an event-driven interface.
- π Using Notion as my CMS with Next.js: Describes a setup to reduce the friction of creating and publishing notes. Notion content is first converted as Markdown, and then renderer in a Next.js app.
- π Next.jsβs unstable_cache() demystified: Some notes on the dangers of returning classes, and a link to an interesting related article/package listing even more caching gotchas.
- π Build your own React state management library in under 40 lines of code: Creates a custom external store and reads it in React withβ¦ useSyncExternalStore + 2 improvement suggestions such as adding an Immer integration.
- π GitHub Vitale - Live notebooks in VS Code for JavaScript/TypeScript, web development, and AI experimentation: The GitHub Next team introduced a new Notebook technology (like Jupyter) for interactive exploratory coding based on Vite. It supports rendering a React component in a notebook cell.
- π Frontend Security Checklist: Includes examples of mitigating XSS and CSRF attacks in a React context.
- π The Art of Dithering and Retro Shading for the Web (with React Three Fiber)
- π¨ DΓ©dale - Email template development environment, based on React Email
- π¦ Redwood 8.0 RC: New version of the full-stack React framework is now in release candidate. It adds SSR and RSC support (experimental), Vite 5, Prettier 3. See the v8 upgrade guide. They also plan to introduce soon a Background Jobs feature.
- π¦ Vercel AI SDK 3.3 - useChat() supports file attachments, useObject() streams structured data: With structured data based on Zod schemas, LLMs are getting easier to use for devs. Note that OpenAI also announced support for structured output with Zod support!
- π¦ Astro 4.13 - stable request rewriting, stable content collections JSON schemas
- π¦ react-three/xr 6.1 - WebXR Anchor API, Hit Testing API, DOM Overlay API, experimental Emulator
- π¦ Tldraw sync - self-hostable real-time collaboration engine for React whiteboard drawing app
- π₯ Theo - Server Islands are really cool
- π₯ Jack Herrington - NextJS Feature Flagging Made Easy
- π₯ UI Engineering - Why React is Declarative?
- π₯ Expo - What React devs need to know about React Native
- ποΈ Syntax - Why the jQuery Creator Uses React and Typescript - John Resig
- ποΈ This Month in React - July 2024 - State of JS, React, HTML
πΈ Sponsor
Let's meet at React Universe Conf 2024
React Universe Conf is two incredible days of learning, networking, and innovation in the heart of Europe. Formerly known as React Native EU, React Universe Conf is now the ultimate gathering for React and React Native enthusiasts. What's in it for you this year?
- Exceptional lineup: Dan Abramov, Evan Bacon, Kent C. Dodds, Delba de Oliveira, Marc Rousavy, and many other great speakers.
- Hot topics: New architecture, React Server Components, Static Hermes, and Out-of-Tree platforms.
- Practical insights on cross-platform app development with React Native.
Use promo code TWIR for 10% discount on your ticket. Book your spot HERE and see you in WrocΕaw!
π± React-Native
This section is authored by Benedikt.
- πΈ React Native Mastery - The only course you need to Master React Native & Expo
- π¦ Why the Hermes team favors JSI NativeState over HostObject
- π¦ Experimental tree shaking support landed for Expo: Experimentally available in SDK 52 (which is in canary)
- π¦ Styles coming to React Native - Linear gradients, box shadows, CSS filters, % flex gaps
- π React Native PR - Linear gradient in React Native under experimental backgroundImage style prop
- π From JS to Fire OS - React Native for Amazon Devices: Reminder that RN can be used to build apps for Fire Tablets and Fire TVs, as Fire OS is based on Android.
- π TV Navigation in React Native: A Guide to using TVFocusGuideView: Iβm really excited about RN beyond just phones and tablets, so I appreciate articles on how to best leverage platform specific behaviors like this article does for tvOS and Android TV.
- π Xcode UI debugging with Quick Look: Comes in handy if you happen to work in Xcode a lot (I donβt π ).
- π My visit to Chain React 2024 (and some tips for going to conferences): Warning - if you didnβt go to Chain React yourself, this article will give you major FOMO, but I still enjoyed reading this.
- π¦ React Native 0.75.0-rc.7 - update CLI to 14.0
- π¦ React Native 0.74.5 - minor fixes
- π¦ react-native-gesture-handler 2.18.0 - Now has ReanimatedSwipeable as a standalone component, adds a couple improvements and support for RN 0.75
- π¦ react-native-svg 15.5.0 - Minor release introducing new filters, CSS filters API on FilterImage component and many bug fixes
- π¦ react-native-reanimated 3.15.0 - ReducedMotionConfig, EntryExitTransition, CurvedTransition, RN 0.75 support and a lot of fixes
- π₯ Simon Grimm - React Native Server Defined Rendering
- π₯ Reactiiive - The secret behind Jotai and MMKV (React Native)
- π₯ notJust.dev - Building the iOS 18 Photos App with React Native and Reanimated
- ποΈ PodRocket - Using RSCs in Expo Router with Evan Bacon
π Other
- π¦ TC39 meeting 103 -
RegExp.escape
stage 3, Concurrency Control + Unordered Async Iterator Helpers stage 1 - π How Google handles JavaScript throughout the indexing process
- π Why Unknown Types Are Useful
- π A different way to think about TypeScript
- π What if you used Container Units forβ¦ everything?
- π Effect Best Practices
- π¦ Node v22.6.0 - with Experimental TypeScript support
- π¦ Rslib - The library build tool powered by Rsbuild
- π¦ Nx 19.5 - Stackblitz, Bun, Pnpm 9, Incremental Builds for Vite, Gradle Test Atomizer
π€ Fun
See ya! π
Top comments (0)