JesusTheHun / storybook-addon-remix-react-router

Use your app router in your stories. A decorator made for Remix React Router and Storybook
Apache License 2.0
50 stars 12 forks source link

Allow to set router's futures #76

Open artaommahe opened 1 week ago

artaommahe commented 1 week ago

Is your feature request related to a problem? Please describe. Since version 6.28.0 react-router-dom spams a lot of warnings about enabling v7 futures in console. storybook-addon-remix-react-router provides no way so set them

Describe the solution you'd like Add futures object to reactRouter storybook options and pass it to the react-router-dom.

Describe alternatives you've considered

-

Additional context https://reactrouter.com/en/6.27.0/upgrading/future#update-to-latest-v6x https://github.com/remix-run/react-router/issues/12245