Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plans to support storybook 7 #16

Closed
juanruben opened this issue Dec 21, 2022 · 4 comments
Closed

Any plans to support storybook 7 #16

juanruben opened this issue Dec 21, 2022 · 4 comments

Comments

@juanruben
Copy link

Hi. I am trying to setup the translation select box in storybook 7 beta and it does not display.
Is it possible to be related with the version?

@hobadams
Copy link

hobadams commented Jan 4, 2023

I'd also love to use this with Storybook 7 (beta).

I have Storybook 7.0.0-beta.19 & Next 13.0.6

Storybook loads and so do the translations but i get a few issues:

1 - manager-bundle.mjs:1 [Storybook] One of your manager-entries failed: http://localhost:6006/sb-addons/storybook-i18n/manager-bundle.mjs TypeError: P.default.register is not a function I get this error in my console

2 - When enabling autodocs the docs keep re-rendering

 docs: {
    autodocs: true, 
  },

console errors when loading the docs

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
manager  received storyRenderPhaseChanged but was unable to determine the source of the event
manager  received globalsUpdated but was unable to determine the source of the event

Any help getting this working would be incredible. thanks

@jonniebigodes
Copy link

I'm one of the Storybook maintainers. I focus primarily on documentation and community outreach. Just wanted to follow up on this issue letting you know that the Storybook API for building addons is currently being updated to factor in the changes introduced by the upcoming 7.0 release. If you're interested in making the required changes to help the community from benefiting from using your addon, we've prepared an abridged guide for the required changes here, and if you have any questions or issues, please reach out to us in the #prerelease channel in our Discord Server.

Hope you have a great day!

Stay safe

@meza
Copy link

meza commented Mar 6, 2023

I've added a pr for this #17

@stevensacks
Copy link
Owner

Storybook 7 is supported in v2.x!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants