-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Core: Don't persist theme to localStorage #9076
Conversation
The FOUC doesn't happen anymore because of the tri-config api change
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/storybook/monorepo/o5s0b60t1 |
AWESOME. Super excited about this!!! What happens to users who haven't migrated to the new API? |
They get the FOUC, seems like a good trade-off to me. It will nudge them to migrate to the new api I guess. |
Yeah I think that's a fair tradeoff and a great reason to upgrade. Is there a deprecation warning for the old API, or some other clear path for them to follow when they get the FOUC? |
@shilman if this is going to be in a major release, is it important enough to get a deprecation warning in? I looked, and it's not the healthiest code already with multiple layers of deprecated stuff. I'd rather clean it up some more instead. all this code is already for deprecation warnings: storybook/lib/api/src/modules/layout.ts Lines 86 to 131 in 0de8e9d
|
Can I remove all that code for 6.0.0? |
@ndelangen Yeah I think we can get rid of that old deprecation warning. If we do, we should mention it in |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Safe to merge?
Issue: #6798
What I did
The FOUC doesn't happen anymore because of the tri-config api change
I removed the code to prevent the FOUC which was causing other issues.