Tag

#React 19

Every article tagged React 19, in one place.

  • 5 articles
  • 5 min of reading
  • 07 Oct, 2026 last updated

Showing 5 articles

ReactNew 1 min read

What's New in React 19: Actions, use() and More

React 19 is mostly about making async work, especially forms and data mutations, simpler. Here are the features you'll use most, with short examples. Actions An Action is an async function used in a transition. React tracks its pending state, errors and optimi...

07 Oct, 2026 Author 457 125
Read article
ReactNew 1 min read

Form Actions and useActionState in React 19

Before React 19, a form needed state for values, errors, loading and the response. useActionState folds most of that into one hook. The signature const [state, formAction, isPending] = useActionState(actionFn, initialState); // actionFn(previousState, formData...

19 Sep, 2026 Author 219 95
Read article
React 1 min read

Optimistic UI in React with useOptimistic

When a user likes a post or sends a message, waiting for the server before updating the screen feels sluggish. Optimistic UI shows the result immediately and corrects it if the request fails. The hook const [optimisticState, addOptimistic] = useOptimistic(actu...

01 Sep, 2026 Author 692 115
Read article
React 1 min read

Goodbye forwardRef: Refs as Props in React 19

Passing a ref to a custom component used to require wrapping it in forwardRef . In React 19, function components simply receive ref as a prop. Before and after // React 18 const Input = forwardRef(function Input(props, ref) { return <input ref={ref} className=...

21 Jun, 2026 Author 1.29K 103
Read article