Daniel Williams

Results 556 comments of Daniel Williams

like @patrikniebur mentioned it seems like you can avoid this by exporting the storybookUI directly like ``` import StorybookUIRoot from './.storybook/Storybook'; export default StorybookUIRoot; ``` instead of ``` import StorybookUIRoot...

I'm thinking that I'll release a temporary fix for this whilst I figure out the root cause. It shouldn't require user changes though. Will update once its live.

@samgalaxycard seems like you might be missing a dependency or some configuration. I have the temporary fix ready for this, just need to find time to release it (maybe tomorrow)....

@kyle-ssg @samgalaxycard @patrikniebur I've published a temporary fix in 6.0.1-beta.6, could you try updating and running the sb-rn-get-stories command to update your requires file.

@patrikniebur you need to run the script to update the requires file I tested on the same example and it works.

@patrikniebur by hot reload do you mean that it always full refreshes instead of doing a fast refresh? That specifically is a known bug with an issue and PR already...

@patrikniebur interesting, I'm not sure why that would happen. I'll definitely have to revisit hot reloading.

@tyom used to when? Catching the error is a workaround but it wouldn't be the thing that breaks reloading. Also if you see prior comments if you change the way...

@tyom yes I believe the code in preview is getting executed on every hot reload which shouldn't be the case unless that file changes. I've got some ideas on how...

@nutstick Hey thanks for offering to help! That would be great actually, coincidentally I was actually trying to figure out how to do this today. The problem like you were...