Skip to content

v1.1.0

Compare
Choose a tag to compare
@gaearon gaearon released this 12 Jan 14:32
· 1772 commits to master since this release
  • Skipping node_modules entirely wasn't the best idea. Instead, we now specifically skip node_modules/react/, node_modules/webpack/ and node_modules/react-hot-loader/. However you are still encouraged to add exclude: /node_modules/ to your loader config for best performance.
  • Now modules that don't export any valid React classes in module.exports or any its properties will not be auto-accepted. This prevents hot loader from trying to handle non-React updates and allows changes in plain JS files to propagate to components that can handle them. For example, this allows react-jss mixin to apply hot updates to JSS styles.