-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Docs addon freezes with certain nested JSX expressions in dev server #16730
Comments
This enables dynamic source code generation in Storybook on the Docs tab. Note the following limitations: - a couple of stories were being hit by storybookjs/storybook#16730, they've been amended to work around that - it also breaks IE11 on Chromatic, so it's disabled there too
Got same issue Versions: Reproduce: Profile (need to kill tab process, to even get profile results) Can share this profile, if it helps UPD. Removing |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hi, i've got the same issue on Storybook version Any idea? |
Got the same issue on 6.4.19 |
Same issue on v6.5.10 |
Here is a workaround Royal-Navy/design-system#2813 (comment) |
This is still happening in Storybook 7.1.1. For me, disabling source generation doesn't help — Storybook completely freezes my browser tab immediately, and it doesn't even matter which story I'm viewing. The only solution I could find is to move the props to the |
Describe the bug
When:
Visiting the docs page for that story causes the browser to freeze.
To Reproduce
I've pushed a repro here with instructions: https://github.com/jpveooys/storybook-bug-repro
The story that triggers the problem is here:
https://github.com/jpveooys/storybook-bug-repro/blob/5cee67290512bc467f9d06e412799c1505653924/stories/Header.stories.tsx#L21-L27
System
Additional context
This problem doesn't happen in a production build.
It also doesn't happen if the story is rewritten to use the args pattern.
The text was updated successfully, but these errors were encountered: