Tweak React components in real time. (Deprecated: use Fast Refresh instead.)
MIT License
Bot releases are visible (Hide)
Published by gaearon over 9 years ago
Published by gaearon over 9 years ago
Published by gaearon almost 10 years ago
react/lib/ReactMount
in transformed source filesReactMount
doesn't return anything useful (e.g. when using external React)Published by gaearon almost 10 years ago
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.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.Published by gaearon almost 10 years ago
node_modules
entirely. Fixes #54 on Windows.Published by gaearon almost 10 years ago
require('react-hot-loader/Injection')
to override Hot Loader behavior. Now you can supply your own way of getting root component instances, so Hot Loader can also work in environment where react/lib/ReactMount
is not available (for example, when React is used as standalone bundle and not NPM package).Published by gaearon almost 10 years ago
Published by gaearon almost 10 years ago
module.exports
by default, also hotify all its own propertiesPublished by gaearon almost 10 years ago
ReactElement
sPublished by gaearon almost 10 years ago
require
ing ReactMount
to avoid circular dependenciesPublished by gaearon almost 10 years ago
Everything that's been available in previous alpha releases:
createClass
regex or any other regexmodule.exports
is hot by default, new module.makeHot
API for opt-inThis will be documented here very soon.
Published by gaearon almost 10 years ago
?manual
modePublished by gaearon almost 10 years ago
Published by gaearon almost 10 years ago
Published by gaearon almost 10 years ago
Alpha release of a large rewrite.
module.makeHot
Published by gaearon about 10 years ago
Published by gaearon about 10 years ago
Published by gaearon about 10 years ago