Closed SidKwok closed 7 years ago
If I remove "plugins": ["react-hot-loader/babel"], the HMR also run correctly.
"plugins": ["react-hot-loader/babel"]
Will the plugin be added automatically?
I want to use babel's env to remove this plugin in my production, so will it be removed from my production?
react-hot-loader 3.0.0@beta.6
HMR runs correctly but the point of the Babel plugin is to prevent stateful React components from unmounting on HMR updates, so they retain their state.
If I remove
"plugins": ["react-hot-loader/babel"]
, the HMR also run correctly.Will the plugin be added automatically?
I want to use babel's env to remove this plugin in my production, so will it be removed from my production?
react-hot-loader 3.0.0@beta.6