-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration guide for create-react-app seems outdated #595
Comments
Same issue here. |
Hey @ivanwolf15 can you explain a bit the changes you made to get this to work? Can you provide the code you changed here? Been dealing with this for days now. Thanks |
Hi @jonathanphz If you are still trying to figure this out, I created a repo to show you how. create-react-app-with-hot-loader |
Hey @wangsongiam thanks so much for this - I was able to figure it out slowly a few days ago. BTW - I love your editor. Is that vim using Hyper? |
@jonathanphz thanks! It's Neovim on iTerm, you can check my config repo for all the details. |
Just tried following along the docs in here: https://github.com/gaearon/react-hot-loader/tree/master/docs#migrating-from-create-react-app Using a fresh install of CRA and react-hot-loader@next. When attempting to yarn start I get this error: |
@jonathanphz if you fixed it can you please update the documentation? |
Same issue here. Using latest RHL and CRA. Tried to use In console shows |
@neoziro |
Problem still persists |
Described migration for create-react-app results in errors.
https://github.com/gaearon/react-hot-loader/tree/master/docs#migrating-from-create-react-app
From fresh install, I followed the instructions from the docs, and when I change a component the app refreshes completely instead of hot-reloading components
Also, it's not said, but it's required to import findCacheDir:
const findCacheDir = require('find-cache-dir');
The text was updated successfully, but these errors were encountered: