Releases: gaearon/react-hot-loader
Releases · gaearon/react-hot-loader
Refresh of the Fresh
Refresh
useState
value change will reset hook state, based on React.Fresh PR
Bug Fixes
- hot render of
forwardRef
component (4ba7530). Hooks inside were failing duringhotReplacementRender
(react-spring case) - regression in hidden components reconcilation (3f8efc4), some
styled-components
were always remounted - update react-fresh babel plugin (2fafd44), fixes #1268, based on React.Fresh PR
🍋 Fresh
Free Types!
A small but quite important release, which will remove the major effect of React-Hot-Loader - proxing Elements.
In short - <App/>.type === App
without React-Hot-Loader, and false with. So - React-Hot-Loader might break your app in dev
environment, or your app might work a bit differently in prod
.
No more (user space) proxying!
Works only with webpack plugin. Does not work without it, or with hot-loader/react-dom
- feature is not stable yet.
Please try it!. We need your feedback!.
Features
🔥🎣 (let's assume that's a hook)
The first release with a proper hooks support.
Features
Bug Fixes
v4.8.8
v4.8.6
v4.8.5
Bug Fixes
- correct memo fiber updater, fixes #1230 (a185494)
- make API more error prone, fixes #1228 (a6ba488)
- move react-dom notification to AppContainer, fixes #1227 (28bfdd4)
- update root endpoint, fixes #1226, #1240 (608805a)
- use simpler conditions for index.js, implements #1244 (4811d57)
- webpack plugin fails on hot-loader/react-dom, fixes ##1234 (826eee3)
- webpack-plugin - use RHL global variable, fixes #1251 (f036d36)