You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like we just need to update our Storybook version.
This came from a slack discussion...
Would anyone know how to address the issue with Storybook not working well with optional chaining in the source?
The extraction and displaying of props in the Storybook => Docs => ‘Component API’ is failing when the source has optional chaining.
ie: CodeSnippet.js has a number of lines that use optional chaining (like lines 76, 77, etc) which stop the Component API prop generation.
The text was updated successfully, but these errors were encountered:
I ran into this issue updating the CodeSnippet Story.
As the title says "Props slot not render right in Stories when use optional chain in component".
@tay1orjones found this Storybook issue that pretty much sums it up...
storybookjs/storybook#11883 (edited)
Looks like we just need to update our Storybook version.
This came from a slack discussion...
Would anyone know how to address the issue with Storybook not working well with optional chaining in the source?
The extraction and displaying of props in the Storybook => Docs => ‘Component API’ is failing when the source has optional chaining.
ie: CodeSnippet.js has a number of lines that use optional chaining (like lines 76, 77, etc) which stop the Component API prop generation.
The text was updated successfully, but these errors were encountered: