-
-
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
[Bug]: Webpack Hot Module Replacement doesn't work #23090
Comments
@ndelangen This looks like a serious bug on both NOTE: this does not reproduce in a vite project, so it is not purely a UI thing 🤷 |
Thank you for a quick fix! I could check when a new alpha is released. |
Describe the bug
Storybook always shows loading bar instead of content when using Webpack and changes is triggered after full page load.
Even at initial start of
storybook dev
content is never shown until manual page refresh.No errors in browser console or terminal.
To Reproduce
Open Stackblitz created from “React v18 Webpack (TypeScript)” template. No changes were made to code.
After
storybook dev
finished compiling we still see a loading bar.Manually refresh preview — we see content. Make any change to any story — content replaced with loading bar until page is manually refreshed.
System
Stackblitz system:
My laptop:
Additional context
Issue is also reproducible on a project, which doesn't have any webpack config, but use react-webpack5 builder in storybook.
The text was updated successfully, but these errors were encountered: