Skip to content
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

Hot Reloading is not support? #632

Closed
flixyudh opened this issue Nov 1, 2018 · 2 comments
Closed

Hot Reloading is not support? #632

flixyudh opened this issue Nov 1, 2018 · 2 comments

Comments

@flixyudh
Copy link

flixyudh commented Nov 1, 2018

Current behaviour

Changing text and save doesn't change while Hot Reloading is enabled

Expected behaviour

Work like normal Hot Reloading

Code sample

Screenshots (if applicable)

ezgif com-video-to-gif 2

What have you tried

  • Re-installing using run-android
  • Uninstall the apps and Re-install
  • react-native start --reset-cache

Your Environment

software version
ios or android Android Lolipop (Emulator BigNox)
react-native 0.55.4
react-native-paper ^2.1.3
node v8.9.1
npm or yarn v6.4.1
@EmperorEarth
Copy link

I've been able to get non-functional components (i.e. class Foo extends React.Component { ... } hot-reloading with

  • redux
  • redux-saga
  • react-navigation
  • react-native-paper

functional components, however, never seem to cooperate

@ferrannp
Copy link
Collaborator

ferrannp commented Nov 5, 2018

@zxccvvv this is not related to Paper. I think it's a problem in general with HMR and RN: facebook/react-native#10991. You might need to check this one https://github.com/bvic23/babel-plugin-functional-hmr and see if it helps.

@ferrannp ferrannp closed this as completed Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants