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
Hi @florian-milky -- can you tell if your app is HMR (hot module reloading / fast refreshing without reloading the browser tab) or not?
I would be surprised if the args were being reset on HMR (in which case a reproduction would be useful). OTOH if your SB is reloading when you edit a component, you might want to investigate why, although I tend to think args shouldn't reset then either (we already store globals in session storage, we should store args there too I think).
Describe the bug
When developing a component using a story and controls, everytime the code is saved, the story reloads with default control values.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
story should hot reload with same controls
Screenshots
N/A
Code snippets
N/A
System
Environment Info:
System:
OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Binaries:
Node: 14.13.1 - ~/.nvm/versions/node/v14.13.1/bin/node
npm: 6.14.8 - ~/.nvm/versions/node/v14.13.1/bin/npm
Browsers:
Chrome: 87.0.4280.88
Safari: 13.1.2
npmPackages:
@storybook/addon-actions: ^6.1.9 => 6.1.9
@storybook/addon-essentials: ^6.1.9 => 6.1.9
@storybook/addon-knobs: ^6.1.9 => 6.1.9
@storybook/addon-links: ^6.1.9 => 6.1.9
@storybook/addons: ^6.1.9 => 6.1.9
@storybook/react: ^6.1.9 => 6.1.9
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: