Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

HMR setup #11

Open
cezarneaga opened this issue Jan 30, 2017 · 4 comments
Open

HMR setup #11

cezarneaga opened this issue Jan 30, 2017 · 4 comments

Comments

@cezarneaga
Copy link

Is HMR supposed to work without any configs?
Mine doesnt seem to work. using Preact though.

@shrynx
Copy link
Owner

shrynx commented Jan 30, 2017

@cezarneaga yes, i noticed, it works with react but not with preact. I am using babel-preset-hmre for this and maybe preact isn't compatible. I checked one or two boilerplate but they had same issue. If you get a work around or find any boilerplate having a working hmr, do tell :)

@cezarneaga
Copy link
Author

cezarneaga commented Jan 30, 2017

one could write the code in react and build in preact :)

@shrynx
Copy link
Owner

shrynx commented Jan 31, 2017

haha, you can. but too risky, wouldn't know if something is breaking. I will look into this soon.

@cezarneaga
Copy link
Author

here's something that might help: https://github.com/developit/react-router-4-test

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants