React

Build modern UIs with React

250 tutorials
12 of 250 tutorials
Aug 16, 2026· 6 min read

How to Use Jotai for Atomic State in React

Set up Jotai in React. Create atoms with the atom function, read and update them with useAtom, and build derived values that stay in sync.

jotaiReact
Aug 16, 2026· 7 min read

React Server Components Explained in Plain English

Server Components render on the server, keep heavy code and secrets off the browser, and pair with Client Components for the interactive parts of a page.

Server ComponentsReact
Aug 16, 2026· 7 min read

How the 'use client' Directive Works

The 'use client' directive marks a module and its dependencies as client code, creating the boundary between server and browser in a React Server Components app.

Server ComponentsReact
Aug 16, 2026· 7 min read

How the 'use server' Directive Works

The 'use server' directive marks async functions that client code can call, sending serialized arguments to the server and returning a serialized result.

ReactServer Components
Aug 16, 2026· 7 min read

The React use() API: Reading Promises and Context

The use API reads the resolved value of a Promise during render, or a context value from anywhere in a component, and pairs with Suspense and error boundaries.

Server ComponentsReact
Aug 16, 2026· 7 min read

How Streaming SSR Works with React Suspense

Streaming SSR sends the page as a stream of HTML, delivering the shell first and the rest as data finishes, with Suspense boundaries deciding the order.

Server ComponentsReact
Aug 16, 2026· 7 min read

React Activity Explained: Hide and Restore UI State

The Activity component hides a part of the UI without unmounting it, keeping its state and DOM while its Effects are cleaned up until it becomes visible again.

Server ComponentsReact