React 18 Released: Concurrent Features Explained

React 18 is GA. The headline feature is Concurrent Rendering, enabled by the new createRoot API.

Automatic Batching

Previously, state updates inside setTimeout or fetch callbacks were NOT batched. React 18 batches them automatically.

JavaScript6 lines
// React 17: 2 re-renders
// React 18: 1 re-render (batched!)
fetch('/api').then(() => {
  setLoading(false);
  setData(result);
});

Suspense for Data Fetching

Combine with libraries like React Query or Relay to show loading states declaratively.


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Written by

Nithin Mohan TK

Hello Namaste! 👋🏻 I'm an accomplished Enterprise Solution Architect & Engineering Leader with 20+ years of progressive experience architecting, building, and scaling transformative enterprise solutions. ⚜️ Solution Architect / AI & Cloud 📌 Galway, Ireland

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.