migrate from react-native packager to webpack
npm install --save-dev rn-pack
- modify react-native file,
node_modules/react-native/Libraries/Performance/Systrace.js, comment(require: any).Systrace = Systracecode in the last line; cp node_modules/rn-pack/webpack.config.js ./, custom config can add to config file;- run
node node_modules/rn-pack/index;
Hot load should work in debug mode