So if I understand correctly I need to enable HMR for every module manually? Seems like a lot of work.
Maybe it would save time if you're focussing on a single module that has a lot of internal state. Otherwise I would just setup Storybook and create stories for every individual state of the component.
I agree that Storybook sounds great for UI components. I think this model is less work for interactive/3D applications where parts aren't easily extracted out, and helpful if you need to see it in full context.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
So if I understand correctly I need to enable HMR for every module manually? Seems like a lot of work.
Maybe it would save time if you're focussing on a single module that has a lot of internal state. Otherwise I would just setup Storybook and create stories for every individual state of the component.
I agree that Storybook sounds great for UI components. I think this model is less work for interactive/3D applications where parts aren't easily extracted out, and helpful if you need to see it in full context.