9 ms·
Webpack's HMR (hot reloading) of JS does work with create-react-app, but only if you use an external state store (like Redux), see [1]. The 'React Hot Loader'
by nilliams 9y ago
Webpack's HMR (hot reloading) of JS does work with create-react-app, but only if you use an external state store (like Redux), see [1].
The 'React Hot Loader' [2] module, which maintains local React component state is not included yet.
[1] https://github.com/facebookincubator/create-react-app/issues/93#issuecomment-278625166 https://github.com/facebookincubator/create-react-app/issues...
[2] https://github.com/gaearon/react-hot-loader https://github.com/gaearon/react-hot-loader