react-hot-loader

Tweak React components in real time. (Deprecated: use Fast Refresh instead.)

MIT License

Downloads
2.7M
Stars
12.3K
Committers
242

Bot releases are hidden (Show)

react-hot-loader - Refresh of the Fresh

Published by theKashey over 5 years ago

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
react-hot-loader - 🍋 Fresh

Published by theKashey over 5 years ago

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
react-hot-loader - Free Types!

Published by theKashey over 5 years ago

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)
react-hot-loader - 🔥🎣 (let's assume that's a hook)

Published by theKashey over 5 years ago

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)
react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

  • document the importance of import order, fixes #1209 (5f50ee4)
  • dont skip first update or plain components #1224 (432e0f8)
  • remove Object.assign, fixes #1226 (c5af009)
react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

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

Published by theKashey over 5 years ago

Bug fixes

  • replaces deprecated 4.8.1 #1217
react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

  • destructed Context.Provider breaking registrations. fixes #1184 (8240111)
  • do not poison memoized props (9f6ab6e)
  • rethrow an error is hot comparison is not open (8befa5a)
react-hot-loader -

Published by theKashey over 5 years ago

Bug Fixes

  • safer reads from context consumer (7942d26)
  • suppress error message on a server side, fixes #1188 (b12b430)
react-hot-loader -

Published by theKashey over 5 years ago

Features

react-hot-loader - (deprecated)

Published by theKashey over 5 years ago

Bug Fixes

  • root hot for parcel bundler, fixes #1082 (a16679b)
  • pass a false value into Context #1214
react-hot-loader - Hook the hooks

Published by theKashey over 5 years ago

Bug Fixes

  • complain if hot patches not present, fixes #1173 (efc3d6b)
  • deactivate RHL in dev mode if eval not allowed (f995b0d)
  • disable ErrorBoundaries for a first run, fixes #1172 (2a834c2)
  • Support Context.Provider reload and React.memo, fixes #1169 (09e48eb)

Features

  • activate pureRender by default (4e971b5) (this is a big deal)
  • implement flexible hot injections (b7e8f5e)
  • make errors retryable to mitigate hooks update (9967fde) ("a retry button")
react-hot-loader - hot-fix

Published by theKashey over 5 years ago

Bug Fixes

  • babel plugin produces a broken code #1168 (6f8573f)
react-hot-loader - Tidy up!

Published by theKashey over 5 years ago

Bug Fixes

  • do not shadow component name (use the real component names, not "ProxyComponent") (4b02767)
  • do not supress HMR errors, related to #1153) (be79d2f)
  • fix wrong react-dom name resolution installation (6f829a0)
  • opt-out for module safety net, fixes #1102, #1159 (93d0b1f)
  • remove platform checks from production bundle, fixes #1162 (24d0448)
  • update fiber cached type, fixes #1139 (35984ff)
react-hot-loader - The fixes for hot fixes

Published by theKashey almost 6 years ago

Bug Fixes

  • context information is not always properly emulated in hot-render, fixes #1094 (100fc9c)
  • RHL could update non-relative components (5d4f226)
  • update memo updater and comparator. fix #1135 (826a57c)
  • allow multiple 'hot' in one file, registering only the first one (68c2a0a)
  • error overlay initialization prior body, fixes #1127 (9177aba)
react-hot-loader - Quick fixes

Published by theKashey almost 6 years ago

Bug Fixes

react-hot-loader - Know your Errors

Published by theKashey almost 6 years ago

Features

  • implement flexible error boundaries (1846019)
  • new root/hot API for better error management. Fixes #1078, #1111 (3029428)