HMR has some Error!
See original GitHub issueEnvironment
- Android
- Use TypeScript
Description
When I changed App.tsx
,the HMR report an error.
Reproducible Demo
RN official demo:
index.js
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
AppRegistry.registerComponent(appName, () => App);
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Uncaught Error: [HMR] Hot Module Replacement is disabled
I'm using webpack for my build which works without any problems using the webpack-dev-server ( npm run watch ), however when I try...
Read more >Getting HMR errors (trying to build a customizable Slider ...
I want it 100% (or near of it) customizable. Where designers can insert arrows, dots, and work with it freely. So I basically...
Read more >Hot Module Replacement - webpack
If Hot Module Replacement has been enabled via the HotModuleReplacementPlugin , its interface will be exposed under the module.hot property as well as ......
Read more >[resolved] [user-error] React-fast-refresh && HMR
I've been planning to add a feature to HMR to log why it is unable to apply an update and has to reload...
Read more >Can't get HMR working (browser console errors __hmr 404)
Hello there, I have problems getting HMR to work. ... Here's how I (tried) to install Wordpress with Sage: used trellis-cli to setup...
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
I think I got the fix for it. @OliverNi @NiuGuohui can you update
@callstack/nativepack
to1.4.2-beta.0
and check if the issue is gone? Also when testing keep in mind this limitation: https://github.com/callstack/nativepack#hot-module-replacement--react-refreshhttps://github.com/NiuGuohui/nativepack-issue-29 This repo can be seen this issue.