Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ const config: StorybookConfig = {
name: '@storybook/react-vite',
options: {},
},
docs: {
autodocs: 'tag',
},

stories: ['../src/stories/**/*.stories.@(ts|tsx)'],
addons: ['@storybook/addon-essentials', './local-preset.js'],
addons: ['./local-preset.js', '@storybook/addon-docs'],
};

export default config;
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# v4.0.0 (Tue Nov 04 2025)

- Add support for React Router v6 with Storybook 9 [#98](https://github.com/JesusTheHun/storybook-addon-remix-react-router/pull/98) ([@darrenvong](https://github.com/darrenvong))

#### Authors: 2

- Darren Vong ([@darrenvong](https://github.com/darrenvong))
- Jonathan MASSUCHETTI ([@JesusTheHun](https://github.com/JesusTheHun))

---

# v3.1.0 (Tue Dec 31 2024)

#### 🚀 Enhancement
Expand Down
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# Storybook Addon Remix React Router
# Storybook Addon React Router v6

[![Storybook](https://raw.githubusercontent.com/storybookjs/brand/master/badge/badge-storybook.svg?sanitize=true)](https://storybook.js.org)
[![npm](https://img.shields.io/npm/v/storybook-addon-remix-react-router?color=blue)](https://www.npmjs.com/package/storybook-addon-remix-react-router)
[![Release](https://github.com/JesusTheHun/storybook-addon-remix-react-router/actions/workflows/release.yml/badge.svg)](https://github.com/JesusTheHun/storybook-addon-remix-react-router/actions/workflows/release.yml)
![npm](https://img.shields.io/npm/dm/storybook-addon-remix-react-router)

> Use Remix React Router in your stories.
> Use React Router v6 in your stories.

✨Notice ✨
The package has been renamed `storybook-addon-remix-react-router`.
The repository has also been renamed, so you are on the right page.
The migration is mandatory to support Storybook 8.
The old package name `storybook-addon-react-router-v6` has been revived to exclusively support React Router v6 with new versions of Storybook going forward.
This will exist alongside the current `storybook-addon-remix-react-router` package, which supports Remix React Router and React Router v7.
The migration is mandatory to support Storybook 9.

## Recent changes

✅ Support for React Router v7 with `storybook-addon-remix-react-router@4`.
✅ Support for Storybook 8 with `storybook-addon-remix-react-router@3`.
✅ You can now use `useStoryElement` to inject the story at multiple points.
✅ Support for Storybook 9 with `storybook-addon-react-router-v6@4`.

## Getting Started

Expand Down Expand Up @@ -186,7 +184,7 @@ Here is a compatibility table :

| Addon | React | Storybook | React Router |
| ----- | ----------------------- | --------- | ---------------- |
| 4.x | >= 16.8.0 | 8.x | 7.x |
| 4.x | &gt;= 16.8.0 | 9.x | 6.x <sup>1</sup> |
| 3.x | &gt;= 16.8.0 | 8.x | 6.x <sup>1</sup> |
| 2.x | &gt;= v16.8.0 < v19.0.0 | 7.x | 6.x |
| 1.x | &gt;= v16.8.0 < v19.0.0 | 7.x | 6.x |
Expand Down
Loading