v6 - @storybook/addon-docs - code preview broken? #11512
-
Hi, i tried updating to v6.0.0-rc.1, but after the update the code blocks seam to act different than in v5. it now only displays the return value, and not the whole code used in the function (like in v5). Only showing the return value i loses important information i need in the code (variable declaration, ...). It also idisplays something like this:
as
i'm using react with typescript. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We've updated the code rendering in React to default to showing the virtual DOM rendered by the Story and this is probably the biggest area in need of stabilization during the RC. I'll try to provide a way to opt out of the new behavior in the next RC. Tracked here #11526 |
Beta Was this translation helpful? Give feedback.
We've updated the code rendering in React to default to showing the virtual DOM rendered by the Story and this is probably the biggest area in need of stabilization during the RC. I'll try to provide a way to opt out of the new behavior in the next RC.
Tracked here #11526