react-workspaces / react-workspaces-playground

⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
https://react-workspaces.github.io/react-workspaces-playground/
763 stars 128 forks source link

Storybook help #73

Closed fcisio closed 3 years ago

fcisio commented 3 years ago

Hi, I've built my own workspace taking inspiration from this one. I am running Storybook 6 in js. Everything works, except for HMR.

I am currently getting these two errors in the console:

⚠️ Ignored an update to unaccepted module ../components/src/Button/Button.js -> ../components/src/index.js -> ./.storybook/preview.js -> ./.storybook/preview.js-generated-config-entry.js -> 0

⚠️ [HMR] The following modules couldn't be hot updated: (Full reload needed) This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves.

Are there some hidden configurations I should look into? Have anyone encountered this issue on this project?

Thanks