-
-
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
Navigation order breaks during hot reload #482
Comments
Yep. This is a bug. |
@mnmtanish This is suppose to work earlier. Seems like HMR dispose is not working properly. Isn't it? |
@jzaefferer when calling storiesOf('MyComponent', module) |
Yes, just verified that all our As far as I can tell, we're not doing anything out of the ordinary. Here's our config, webpack config and a sample story: https://gist.github.com/jzaefferer/e4c3152d60dd7e6537a1b72a6f6116dd |
Thanks for the info. I'll check it out. |
Fixed with #499 |
Nice, thank you! |
To reproduce: Start with 3 stories, A, B, C. By default, they're alphabetically ordered. Now edit story A. After a hot reload, observe the navigation order.
Expected: A, B, C
Actual: B, C, A
It seems like the hot reloaded story gets stuck to the end of the list. After a hard reload of the page, its back where its supposed to be.
Tested with 2.18.0.
PS: The "Known Issues" link in https://github.com/kadirahq/react-storybook/blob/master/CONTRIBUTING.md#issues is dead
The text was updated successfully, but these errors were encountered: