Subscribe on changes!

docs: use __DEV__ with `@hmr`

avatar
May 6th 2020

I noticed the HMR code added by the user is not removed while building, leading to errors because the hot module that is imported becomes an empty object.

I don't know if it's possible to remove these parts of code, but using the __DEV__ global property also works