Skip to content

Releases: gaearon/react-hot-loader

Refresh of the Fresh

15 Jun 13:21
Compare
Choose a tag to compare

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 during hotReplacementRender(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

10 Jun 07:50
Compare
Choose a tag to compare

The first release since forever with Dan Abramov contribution.

Features

  • backport React.Fresh to handle hooks order change (e5c4bb4)
  • much better testing coverage

Bug Fixes

  • source map consumer could be synchronous (05a6c8e)
  • false positive on function components merge

Free Types!

02 Jun 02:49
Compare
Choose a tag to compare

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

  • 👓 transparent class wrapping, fixes #304 (9fe4cad)

🔥🎣 (let's assume that's a hook)

02 Jun 02:31
Compare
Choose a tag to compare

The first release with a proper hooks support.

Features

  • 👨‍🔬support hooks update on HMR, fixes #1256 (7ab076c)

Bug Fixes

  • 🥵false positive hot merge for forwardRef and Memo components, fixes #1257 (dbf1047)
  • 🤓improve hot api for production mode - better error reporting and smarter babel plugin (6b29911)

v4.8.8

23 May 10:40
Compare
Choose a tag to compare

Bug Fixes

v4.8.6

18 May 23:17
Compare
Choose a tag to compare

Bug Fixes

v4.8.5

16 May 02:57
Compare
Choose a tag to compare

Bug Fixes

v4.8.4

15 Apr 01:44
Compare
Choose a tag to compare

Bug Fixes

v4.8.3

05 Apr 22:21
Compare
Choose a tag to compare

Bug Fixes

  • Allow refs on lazy components (798e37f)
  • invariant violation react 15 (1351f2d)

v4.8.2

30 Mar 22:34
Compare
Choose a tag to compare

Bug fixes

  • replaces deprecated 4.8.1 #1217