Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Examples

At the time of this writing, we are in a bit of a limbo. react-hot-loader version 3 is about to be released, but (possibly among other things) is waiting on ErrorBoundaries in react, which is likely to land in the next react release.

Because of this, the examples have been updated to reflect the current state of deprecation and anticipation:

  • The react-hot-loader example features the upcoming version 3 (currently 3.0.0-beta.2), but does not yet support error catching and rendering on updates, only on initial mount. This is the future, but it's not quite here.
  • The react-transform-catch-errors example shows how to catch and render errors with the deprecated react-transform-catch-errors plugin. This is the way of the past, but it works today.

For the futurists

If check out the PR, which brings ErrorBoundaries to react, and build react from source, you can use the RHL 3 example with hot reloading error capture today.