#Rendered more hooks than during the previous Render only in autodocs

9 messages · Page 1 of 1 (latest)

supple quartz
#

anyone an idea why a story would throw "Renderered more hooks than during the previous render" only for the first story of a batch in the autodoc but works fine when viewed alone?
Where would I look for a mistake?

sharp lichen
#

This usually happens if decorators are rendered conditionally. Could you provide a reproduction?

supple quartz
#

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

supple quartz
#

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

supple quartz
sharp lichen
#

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!

timid remnant
sharp lichen
#

Hi @timid remnant

We will release the bugfix today 🙂

Liebe Grüsse zurück 🤭