New Starter Plan

React SDK v8 Now Available

  • Infrastructure
  • Developer Experience
  • Stability & Performance
Illustration of two people assembling a large gear in front of a laptop, symbolizing teamwork and innovation.

React SDK v8 is now stable. The rebuilt @storyblok/react lets React and Next.js developers fetch, render, and preview Storyblok content with a smaller API and full support for React Server Components.


What’s new

  • Data fetching: fetch stories with @storyblok/api-client, which replaces the bundled API client and useStoryblokApi().
  • Block registration: map blocks to components per app or route with defineStoryblokBlocks(), which replaces the global storyblokInit() registry.
  • StoryblokBlock replaces StoryblokComponent: render blocks and nested blocks with one component that passes block and editable props to every block component.
  • Live preview: wrap content in StoryblokPreview to preview changes in the Visual Editor, in client-rendered apps and in React Server Components.
  • TypeScript: type block components with StoryblokBlockComponentProps and the renamed Story and StoryblokBlockData types.
  • Blueprints: start a new project from the React or Next.js blueprints, which already use v8.

Upgrade from v7

Version 8 includes breaking changes. It requires React 18 or 19 and ships only as ESM, so require("@storyblok/react") no longer works. Install the new version and the API client:

npm install @storyblok/react@latest @storyblok/api-client

The migration guide covers each step, including the rename of the blok prop to block in every block component.

Share your feedback on GitHub or in our Discord community.