Comments (10)
@Gyran everything worked after I ran react-native start --reset-cache :) Thank you for the fix.
from babel-plugin-functional-hmr.
Did you try to reset the cache and restart the packager? Something like this:
rm -rf node_modules/
yarn install
watchman watch-del-all
rm -rf $TMPDIR/react-*
and restart the packager.
from babel-plugin-functional-hmr.
@bvic23 Yes, I've tried everything:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules/
rm yarn.lock
rm package-lock.json
npm cache clean --force
yarn cache clean
yarn install
And restart
watchman watch-del-all && npm start -- --reset-cache
The only problem on RN 0.52.0 if you use RN 0.51.0, then everything is fine.
from babel-plugin-functional-hmr.
I see :-(. Let me look into it and @mobdim feel free to send a PR if you find the solution earlier.
from babel-plugin-functional-hmr.
Same issue here. Also on RN 0.52.0.
from babel-plugin-functional-hmr.
Also have this issue. It comes from metro bundler I think.
"If you have any scripts in your project that depend on metro-bundler, you will need to change those to metro (related commit). A likely place for this is in rn-cli.config.js.
from babel-plugin-functional-hmr.
A new version is now available that should close this
It was fixed in #10
from babel-plugin-functional-hmr.
Thanks to @Gyran!
from babel-plugin-functional-hmr.
Are you using Yarn? sure the latest version is downloaded?
from babel-plugin-functional-hmr.
@Gyran @hbarylskyi thanks for much!
I ran react-native start --reset-cache and fixed hot reload on react native version 0.54
from babel-plugin-functional-hmr.
Related Issues (14)
- Bundling app does not work HOT 3
- Error in React Native 0.53 HOT 8
- Support for higher-order-components such as recompose HOT 5
- Issue with HMR with fragment syntax HOT 2
- Not working on react-native 0.57.7 HOT 1
- Any idea why unit tests are failing after enabling HMR?
- Won't work with hooks HOT 1
- Couldn't find preset "functional-hmr" relative to directory "MyApp/storybook" HOT 6
- Deprecating the package HOT 2
- support for non-jsx react components HOT 1
- Property property of MemberExpression expected node to be of a type [\"Identifier\"] but instead got null HOT 7
- setup help HOT 7
- Component is not rendered correctly if its stored in variable named 'Item' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babel-plugin-functional-hmr.