Open theKashey opened 6 years ago
Ping @gaearon what do you think?
React Native are using react-hot-loader v1, and facing all the issues we solved.
Actually everything should work out of box, as long React-native supports the same module.hot as rest of bundlers.
Actually all the work shall be done not here - just rewire React-native HMR setup and done.
hot
/module.accept into. One module.accept on top level should be enough. I am still could not understand the approach of react-transform - placing accept
to any files with any React stuff inside could be dangerous.eval
, and hack method .bind
methods.
The current version of React Native uses something from RHL v1. v4 could handle Webpack, Parcel and Electron. Lets add React Native. 🚀