Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storybook): broken styles in storybook after HMR #3057

Merged
merged 2 commits into from
Mar 17, 2020
Merged

Conversation

rtsao
Copy link
Contributor

@rtsao rtsao commented Mar 16, 2020

Description

e2e/config.js is re-invoked with every update, so this was yielding a brand new styletron instance for every update, which would sometimes yield broken styles from order dependency of rendering.

storybookjs/storybook#1417

Scope

  • Patch: Bug Fix
  • Minor: New Feature
  • Major: Breaking Change

@vercel
Copy link

vercel bot commented Mar 16, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/uber-ui-platform/baseweb/qncj3lb4l
✅ Preview: https://baseweb-git-storybook-hmr.uber-ui-platform.now.sh

@rtsao rtsao added bugfix and removed bugfix labels Mar 16, 2020
@gergelyke gergelyke merged commit 00eaf97 into master Mar 17, 2020
@uber-baseweb-probots uber-baseweb-probots bot deleted the storybook-hmr branch March 17, 2020 15:52
cbranch101 pushed a commit to cbranch101/baseweb that referenced this pull request Mar 26, 2020
VladimirMilenko pushed a commit to VladimirMilenko/baseui that referenced this pull request Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants