Something went wrong on our end. Please try again.
Created by: valerybugakov
Upgrading Storybook to the latest version to benefit from goodies released since Oct 14 and eventually enable lazy compilation in development mode. Read more about Storybook Lazy Compilation for Webpack here.
Slack thread for context.
isChromatic
helper to locally test the change described above. Run CHROMATIC=true yarn storybook
to test it.prettier
version to avoid huge diff in this PR. Let's unpin it in a follow-up PR.Popover
component to be able to change the HTML element where it's rendered. Thanks, @vovakulikov, for implementing that! The withChromaticThemes decorator renders stories with parameters.chromatic.enableDarkMode === true
twice — in light and dark mode. The decorator is enabled only if isChromatic() === true
. It's a suggested way of snapshotting the same story with different themes. Trade-offs:
Popover
root element).To learn more, check out the client app preview documentation.