compo icon indicating copy to clipboard operation
compo copied to clipboard

Prevent crashing when using HMR

Open Swiip opened this issue 7 years ago • 1 comments

Lots of tools has Hot Module Reloading activated by default, Parcel in first.

Unfortunately, Web Component spec seems not to support any "redefining" component.

Compo should at least prevent that case and log a warning. Currently, it fails badly.

Swiip avatar Jun 20 '18 06:06 Swiip

Preventing redefining prevents crash but the app still doesn't work.

Something in the store or in the connected callbacks of components...

Swiip avatar Jun 22 '18 06:06 Swiip