Coder Social home page Coder Social logo

Comments (10)

hbarylskyi avatar hbarylskyi commented on June 9, 2024 2

@Gyran everything worked after I ran react-native start --reset-cache :) Thank you for the fix.

from babel-plugin-functional-hmr.

bvic23 avatar bvic23 commented on June 9, 2024

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.

mobdim avatar mobdim commented on June 9, 2024

@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.

bvic23 avatar bvic23 commented on June 9, 2024

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.

fossage avatar fossage commented on June 9, 2024

Same issue here. Also on RN 0.52.0.

from babel-plugin-functional-hmr.

onrige avatar onrige commented on June 9, 2024

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.

Gyran avatar Gyran commented on June 9, 2024

A new version is now available that should close this
It was fixed in #10

from babel-plugin-functional-hmr.

bvic23 avatar bvic23 commented on June 9, 2024

Thanks to @Gyran!

from babel-plugin-functional-hmr.

Gyran avatar Gyran commented on June 9, 2024

Are you using Yarn? sure the latest version is downloaded?

from babel-plugin-functional-hmr.

justertee avatar justertee commented on June 9, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.