Did you know Storybook has @tan_stack React support built-in?
🛣 Automatic Router wrapping with memory history
🧭 Type-safe route, params, query, and path configuration
🌲 Code-based, file-based, and nested Route support
🧪 Auto-mocked Start server functions
⚙️ Zero-config setup
1
12
88
6,861
All stories automatically run inside a <RouteProvider>, so your components are properly isolated.
Provide a Route and configuration details like params, path, and query are typechecked.
1
2
535
TanStack Start’s `createServerFn` is amazing. In Storybook, it’s automatically stubbed, so you can spy on it and provide your own mock implementation.
Start’s internal functions are redirected to browser-safe mocks, too.
1
3
441
Upgrade your `@storybook/react-vite` Storybook project today:
> npx storybook@latest automigrate
Or start a new Storybook in your TanStack app:
> npm create storybook@latest
The full post has more details.
storybook.js.org/blog/storyb…
1
3
284
And a big thanks to @TkDodo, @beaussan, and the rest of the @tan_stack team for their kind assistance in building this out.
Jun 30, 2026 · 4:57 PM UTC
4
231



