Hot reloading failed with react-native
See original GitHub issueI don’t know react-native or react-redux has the problem, but I think it be ignored if I post it as react-native’s issues.
I created a project to reproduce this: https://github.com/cpunion/ReproRN24HMRWithReactRedux
Create steps
$ react-natie init TestHMR24
$ cd TestHMR24
add reducer.js
modify index.ios.js to add store, Provider
Test steps
- open ios/TestHMR24.xcodeproj
- run on simulator
- enable Hot Reloading
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Hot Reload is not working in my React App - Stack Overflow
Hot Reload is not working in my React App · This does happen sometimes. Do npm install and try adding some code. ·...
Read more >Hot Reloading is not working · Issue #18899 - GitHub
Run react-native init NoHotLoad · Run react-native run-android · When the project loaded, enable the Hot Reloading · Make changes to the App.js, ......
Read more >react-hot-loader - npm
React Native supports hot reloading natively as of version 0.22. Using React Hot Loader with React Native can cause unexpected issues (see #824) ......
Read more >Difference between Hot Reloading and Live ... - GeeksforGeeks
Hot reloading allows you to see the changes that you have made in the code without reloading your entire app. Whenever you make...
Read more >React Native Fast Refresh is here! RN 0.61+ - YouTube
React Native fast refresh is a new way to hot reload apps built with React Native, but this time much more stable and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Used a workaround, just put store into a state or object field:
I found my code has error, react-native’s HMR has different
module.hot.accept
method, it’s notaccept(path, callback)
, it’saccept(callback)
, so it just used it inconfigureStore
module. I fixed code, but same result.