react/packages/react-refresh
Sebastian Markbåge 0dedfcc681
Update the exports field (#23257)
* Add .browser and .node explicit entry points

This can be useful when the automatic selection doesn't work properly.

* Remove react/index

I'm not sure why I added this in the first place. Perhaps due to how our
builds work somehow.

* Remove build-info.json from files field
2022-02-08 21:07:26 -05:00
..
npm [Fresh] react-fresh => react-refresh (#15888) 2019-06-15 19:36:46 +01:00
src chore(fast-refresh): double check wasMounted (#22740) 2021-11-18 21:15:07 +00:00
README.md Update react-refresh README 2020-04-30 15:43:21 +01:00
babel.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
package.json Update the exports field (#23257) 2022-02-08 21:07:26 -05:00
runtime.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00

README.md

react-refresh

This package implements the wiring necessary to integrate Fast Refresh into bundlers. Fast Refresh is a feature that lets you edit React components in a running application without losing their state. It is similar to an old feature known as "hot reloading", but Fast Refresh is more reliable and officially supported by React.

This package is primarily aimed at developers of bundler plugins. If youre working on one, here is a rough guide for Fast Refresh integration using this package.