#Rendered more hooks than during the previous Render only in autodocs
9 messages · Page 1 of 1 (latest)
This usually happens if decorators are rendered conditionally. Could you provide a reproduction?
https://codesandbox.io/p/github/dsimonow/webartest/dev?file=/src/components/canvas/Examples.stories.tsx
this codesandbox
I do have a conditional decorator in my examples story but even getting rid of it it still happens
I don't have any other decorators set.
it did work before and I didn't change anything in setup which I am setting in the decorator
and this is the error that comes up. it does say preeview and decorators.
is it the jsxdecorator storybook addon essentials dist actions?
but not sure where I explicitely added it except using the autodocs that is causing the issue.
I did make a storybook upgrade
so I found this https://github.com/storybookjs/storybook/issues/15223
so I guess it is kinda known under certain conditions
One of our core team members already works on a solution. I suggest following up on the Github Issue you sent me. Let's hope this get fixed soon!
Hi @sharp lichen , I encountered the same issue after upgrading to v7 and for now disabled fastRefresh. Will there be a fix in v7.1.0?
Liebe Grüße
Hi @timid remnant
We will release the bugfix today 🙂
Liebe Grüsse zurück 🤭