V7 should refresh the whole body element, instead of only #storybook-root element #22021
mockingjet
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I upgraded to v7 and found that some of my stories had issues like including the same components from other stories.
That's because I have several components that are "teleported" to body element. And Storybook doesn't clear body content when switching story pages.
I don't know if this is intentional for performence improvement or what else, but I am sure about it kinda gets in the way of testing a realworld component.
Beta Was this translation helpful? Give feedback.
All reactions