59 news for react
October 2024
An Early Glimpse of TanStack Start
A quick overview of the new TanStack Start, a meta framework based on React, with server actions, suspense, router, and more.
Currently in alpha, but i already feel this will be my next preferred toolkit for 2025.
October 2024
Build Beautiful Animated Sidebars with React and Framer Motion
How to make beautiful animated sidebars using Framer Motion.
October 2024
Next Gen Fullstack React with TanStack
Great interview of Tanner Linsley about Tanstack start, its new framework and its previsions for it. Followed by a presentation from Tanner himself about the Tanstack Start. I can't wait for it to get released in 1.0..
September 2024
What the heck is atomic state management?
Atomic is not only for design system but also for data management. Discover how to use Jotai, an atomic state management.
September 2024
Component Composition is great btw
Great article about how separation of concerns works in React.
September 2024
How to control a React component with the URL
Learn how to use url to manage states and components by making it the single source of truth.
September 2024
React and FormData
Modern frameworks advices to use formData to manage your forms. What is it and how to use it with zod for typesafe forms ? Description in this article.
September 2024
ShadCN’s Revolutionary New CLI
Shadcn CLI can now provide not only atomic components but also organisms with their new block system. You can easily import a fully designed and functional component. Moreover, it is compatible with Vercel's v0. I still don’t quite know how to process this, my mind is torn between fascination and rejection..
September 2024
How Infinite Queries work
Great article about how to use infinite queries with tanstack query.
August 2024
The King of Drag and Drop: Alex Reardon
Interesting interview about the pragmatic drag and drop lib created by Alex Reardon from Atlassian
August 2024
Never Call new Date() Inside Your Components
Discover what are pure functions, why and how to keep your code pure. Save yourself headaches, just do it.
August 2024
Tips from 8 months of TanStack/Router in production
Always interesting to have qualitative feedbacks.. Is tanstack router as good as everyone says ?
August 2024
Building Swipe Actions component with React and Framer Motion
I've always loved swipe actions, but it's really not the easiest to build. Learn how to use framer motion to build your own swipe behaviors.
August 2024
The "Wrong Way" To Use React
Great explanation on the new react 19 pattern "render on fetch" vs the actual "fetch on render".
July 2024
Do not pass DTOs to UI components
Because the abstractions used by a backend are not always (often?) the best ones for frontend, it can be a good practice to map the DTOs to frontend oriented data.
July 2024
In-Browser Local AI With React And Gemini
Google released Gemini natively in chrome browser. This new API is already compatible with React, and with few lines of code, we can already build an assistant using local chrome browser. Check how to do that in this quick demo.
June 2024
Experimenting with React Server Components and Vite
Want to create a framework from scratch to learn how server component work ? If you have the time, this tutorial is exactly what you need.
June 2024
Why You Should Use React Aria Components...
Presentation and demonstration of React Aria focused on 5 points : accessibility, user experience, styling, internationalisation and customisation.
June 2024
How React 19 Almost Broke The Web
I hope you are not expecting react 19 to be released pretty soon. Although it is in release candidate state, some malfunctions are still discovered when tested by library developers. Here is a resume of how a small update about suspenses triggers data being fetched in waterfall instead of being parallelized.
June 2024
React Form with Loading State (Pending Action)
Great tutorial to learn the new form hooks from React 19. useActionState, useFormStatus, but also useTransition to manage your form with actions.
June 2024
Using React Query with Astro
How to store datas in astro ? By using React Query and Nanostores ! Little demo on how to implement this tools in Astro and and improve your islands.
June 2024
React for two computers
A great demo about why and how to make server components in javascript. In a 30 min live coding during the React conf, Dan Abramov just explains the needs behind server components. No react, no framework, just pure javascript. A great react from Theo is also available to helps us understand what going on.
June 2024
The "SQL In React" Drama
Every time i see a post about rsc and sql requests inside a component, i always looks at the comments, to always see a lots of people choked by this new RSC pattern. Very often, people don't know that even inside a react component, this code only runs on server. Theo explains very precisely how it works, why it is secure, but also why it is only a pattern for prototyping and other patterns are preferable for production.
June 2024
Understanding React Compiler
A great theoretical article about transpilers, compilers, optimizers. What they are how they work, and mostly how React Compiler works.
June 2024
Creating a Reusable SubmitButton with UseFormStatus
Another article to discover the new useFormStatus hook in React 19, and how to use it to improve your UX with transitions.
June 2024
React 19's useOptimistic: EVERYTHING you NEED to know
Learn how optimistic updates will work in React 19. With a very simple todo app, Jack Herrington live code different ways to implement optimistic updates with the new hook useOptimistic, transitions, tanstack query or even zustand.
May 2024
Modern React testing, part 5: Playwright
Great introduction on how to install and use Playwright to your E2E tests. Artem explain all the setup, the use of Mock Service Workers to mock api calls, but also guide you through the building of your different tests.
May 2024
New HTML popover api
As soon as it got available in HTML, React just implemented this new API into the react-dom package. No need anymore to install 3rd party library to manager popover in our applications.
May 2024
Prefetching data with TanStack Query
Small article based on a single exemple to show how to use the prefetching functionality in tanstack query to improve performances.
May 2024
Migrating from Radix to React Aria: Improving Accessibility and UX
Benefits from Argos experience in their quest to find to best behavior library for them. They moved away from Radix to React-aria in search of better UX and standard compliances and explain in this article theirs reasons and challenges.
May 2024
The END of Remix?!? - Huge React Announcement
Remix is one of the major react meta framework and is based and focused on react-router. Because the last few years they worked so much in improving react-router (by themselves or in concert with the react team), most of their features got implemented directly and react-router. So much that it makes sense for them to just merge with react router so all the react community could profit from their work. Thanks to the remix team for all their implication, they definitely improved the way we are using react now.
May 2024
The Forensics Of React Server Components (RSCs)
A deep dive into RSC in this article, to understand the needs below merging CSR and SSR, and how to mix both paradigms to build better applications.
May 2024
Combining React Server Components with react-query for Easy Data Management
Learn how to use tanstack query with your RSC components and how the tool is still pertinent after switching from a CSR to a SSR paradigm.
May 2024
Using Server Actions with tRPC
Learn how to use server actions with tRPC.
May 2024
How to integrate Stripe with React?
A very detailed tutorial to implement the payment system Stripe into your react application. From initialization to configuration and implementation both in your stripe account, your server and your client.
May 2024
Automatic Query Invalidation after Mutations
Another great article from Dominik, the main developer of the tanstack query, about how to manage our cache, and mostly, how and when to invalidate query to refresh datas.
May 2024
Snappy UI Optimization with useDeferredValue
A good explanation of the hook useDeferredValue and how to use it in a concrete exemple. This hook defer a value, allowing to manage priorities in the rendering of a component.
April 2024
Exploring using Suspense with React Query
This article not just only cover the use of suspense with tanstack query, but mostly how to use suspense efficiently and not displaying data loader for every data refresh. A must read to improve the UX of your data management in react.
April 2024
How to Simplify Global State Management in React Using Jotai
Jotai is a primitive and flexible state management solution for React. Learn how to use it in this tutorial.
April 2024
From 0 to Production - The Modern React Tutorial (RSCs, Next.js, Shadui, Drizzle, TS and more)
3 hours of tutorial on what is probably one of the best JS stack in 2024, and for once, including the production and hosting part on Vercel.
April 2024
React 19 released in beta
A first beta for the next react version, but aimed at library developers for them to study and adopt the new features. It includes RSC, servers actions, new refs, context, document metadata, async scripts, prefetching, better error reporting.. The list of new features and upgrades is is pretty impressive.
April 2024
React vs HTMX - A Fascinating War
Seems like every month we have a HTMX comparison, it shows how much the framework brings in the JS ecosystem. As always with Theo, this video is a well of knowledge about how to place HTMX in the ecosystem and when to use it.
April 2024
Zustand and React Context
How to manage our stores in a react app ? globally or locally ? what is better for DX and performances ? Dominik shares his views on mixing zustand and contexts to reference store globally but store values locally to avoid unnecessary rerenders.
March 2024
Progressively Enhance Handling Your Forms With React.js Server Actions
(re)Discover how to manage your forms without client-side JavaScript. The 90s are back!
March 2024
Layout in React ecosystem
Description of layouts and comparison of their usage under react-router, Next.js & Astro.
March 2024
How Next.js breaks React Fundamentals
Criticism of some choices made by Next.js that degrade the development experience on the framework. Apart from the examples mentioned, it is important to note that Next.js is based on still experimental principles.
March 2024
Why React Server Components Are Breaking Builds to Win Tomorrow
Why have we reached React Server Components (RSC) in React 19? It starts with a reminder of the concepts of SSG / SSR / CSR / SPA to explain the need for RSC.
March 2024
New JS Framework Just Dropped (Next.js Killer??)
Why install tanstack query, tanstack router, tanstack form, tanstack table, tanstack graph.. when you can directly install the tanstack framework?
Just released and it is already the framework to follow in 2024.
March 2024
How to test React custom hooks and components with Vitest
Because we haven't talked about tests yet today, here's a tutorial on setting up and using Vitest to test custom hooks.
March 2024
You might not need useEffect() ...
When and how to use (or not) the React useEffect hook. Inspired by the React guide "You might not need an effect".
March 2024
Utilizing useOptimistic() across the component tree in Next.js
Explanation of optimistic updates and the new useOptimistic hook in Next.js to update our data as soon as a form is submitted.
March 2024
STOP using useState, instead put state in URL (in React & Next.js)
Why and how to use your URLs as state managers.
March 2024
Exploring useSyncExternalStore, a lesser-known React Hook
Have you always wanted to understand how state management libraries work? Here's a tutorial on useSyncExternalStore, the hook that allows external stores.
February 2024
Conform 1
Conform is a new form management library with Progressive enhancement first APIs, Type-safe field inference, Fine-grained subscription, Built-in accessibility helpers, and Automatic type coercion with Zod. It is compatible with Next / Remix as it supports server Actions. According to early feedback, this library is still experimental but seems quite promising.
February 2024
HTMX vs React: A Complete Comparison
Which tool to choose between React and HTMX, and especially in which cases? History of front-end technologies, presentation of the 2 tools, comparison (with code please), and suggestion according to use cases.
February 2024
React 19
Meta has announced the upcoming version of React with numerous features:
On the agenda: React compiler, Server components, Actions, Asset loading, Document metadata
February 2024
React Strict DOM
Currently in development, Meta has announced React Strict DOM whose goal is to standardize browser APIs for use in both web and mobile. This would allow having the same codebase for all platforms
February 2024
React Trends in 2024
His predictions for the React ecosystem this year. Guest stars: Astro, Biome, Trpc & Tanstack router. It could be summarized in one word: Typescript
February 2024
TanStack Router is one of the most powerful options for SPA development (& TanStack Query)
Quite detailed presentation of Tanstackquery router (released in v1 in December 2023).
Explanations and examples about suspense, type safety, lazy loading, file-based structure, search params, state management, preloading cache data..