Skip to main content
  • n.dev - Nikos Mastrangelis
  • 01. Home
  • 02. About
  • 03. Skills
  • 04. Projects
  • 05. Services
  • 06. Blog
  • 07. Contact
RED 80s

RED 80s

--:-- --

Site footer

Crafting accessible, performant experiences with modern web technologies.

Get in Touch

Contact

LocationAthens, Greece

Phone+30 6976080812

Emailnikosmastragelis@gmail.com

Newsletter

Get the latest blog posts and updates delivered to your inbox.

© 2026 Nikos Mastrangelis - Full-Stack Engineer

Privacy Policy
GitHubLinkedInResume
  1. All Posts
  2. Exploring the New Features of Storybook 10
Web Development

Exploring the New Features of Storybook 10

Discover the enhancements in Storybook 10, focusing on performance, testing capabilities, and developer experience.

Nikos Mastrangelis
Nikos Mastrangelis
•
November 20, 2025
•
7 min read
Share:
Exploring the New Features of Storybook 10

Storybook 10, released in November 2025, represents a major evolution in component development tooling. With module automocking, typesafe story creation, and enhanced mobile testing capabilities, this release focuses on developer experience without breaking your existing workflows.

ESM-Only Architecture: Faster and Leaner

Storybook 10's most significant change is its ESM-only architecture. This is the only breaking change in the release, but it brings substantial benefits:

  • 29% reduction in install size (on top of the 50% savings in v9)
  • Faster startup times across all frameworks
  • Modern build pipeline with better tree-shaking

Requirements: Node.js 20.16+, 22.19+, or 24+ with ESM support.

bash

Module Automocking: Simplify Component Testing

Developed in collaboration with Vitest, module automocking automatically mocks dependencies, making it easier to isolate and test components.

Enable automocking in your .storybook/preview.ts:

typescript

Use mocks in your stories:

typescript

Typesafe CSF Factories for React

Storybook 10 introduces typesafe Component Story Format (CSF) factories, currently in preview for React. This feature ensures type safety when creating reusable story templates.

typescript

Svelte Async Components Support

Storybook 10 adds first-class support for Svelte 5's async components, along with app state mocking capabilities.

typescript

Story with mocked async data:

typescript

Enhanced UI: QR Codes and Editor Integration

Storybook 10 improves the developer experience with two notable UI enhancements:

  • QR Code Sharing: The sharing menu now generates QR codes for instant mobile device testing. Scan the code to view components on your phone with one tap.
  • Editor Shortcuts: Click a story's 'Edit' button to jump directly to the source code in your configured editor (VS Code, WebStorm, etc.).

Advanced Tag Filtering

Tag filtering has been enhanced with exclusion and configuration capabilities. You can now hide stories based on tags to declutter the sidebar.

typescript

Tag stories for organization:

typescript

Next.js 16 and Vitest 4 Support

Storybook 10 adds day-one support for Next.js 16 and Vitest 4, while maintaining backward compatibility with older versions. This ensures you can upgrade your framework without waiting for Storybook compatibility.

typescript

Migration Guide from v9 to v10

The migration is straightforward since ESM-only is the only breaking change:

  1. Ensure Node.js version meets requirements (20.16+, 22.19+, or 24+)
  2. Run the automated upgrade command
bash
  1. Update your package.json to use ESM syntax if still using CommonJS
json
  1. Convert config files to ESM if needed
typescript

Performance Improvements

Beyond the install size reduction, Storybook 10 delivers performance gains across the board:

  • 29% smaller install size
  • Faster dev server startup
  • Improved Hot Module Replacement (HMR)
  • Optimized build output

Storybook 10 is a focused, performance-driven release that enhances developer experience without disrupting existing workflows. Whether you're building React, Svelte, or Next.js applications, the new module automocking, typesafe factories, and improved testing capabilities make component development faster and more reliable.

Tags

#Tools Frameworks#Storybook#Testing#React#Svelte#Next.js#Web Development#Component-Driven#A11y

Subscribe to the Newsletter

Get the latest articles and insights delivered directly to your inbox. No spam, unsubscribe at any time.

You Might Also Like

Based on similar tags
Exploring the Benefits of shadcn/ui
Web Development

Exploring the Benefits of shadcn/ui

Discover how shadcn/ui offers a new approach to component libraries, prioritizing developer control and customization.

December 15, 2025
7 min read
Read MoreRead More about Exploring the Benefits of shadcn/ui
React 19.2: Transforming Application Development
Web Development

React 19.2: Transforming Application Development

Explore the powerful features introduced in React 19.2, including the Compiler, Activity Component, and useEffectEvent, which enhance performance and code quality.

November 28, 2025
5 min read
Read MoreRead More about React 19.2: Transforming Application Development
Exploring the New Features of Next.js 16
Web Development

Exploring the New Features of Next.js 16

Discover the major improvements in Next.js 16 with Turbopack, async APIs, and PPR for faster web applications.

November 25, 2025
8 min read
Read MoreRead More about Exploring the New Features of Next.js 16
View all Posts