react/packages/react-refresh
Gray Zhang 2f26eb85d6
Add exports field to react-refresh's package.json (#23087)
* Add exports field to react-refresh's package.json

* Update package.json

* Add runtime to exports
2022-01-11 16:48:09 +00: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 Add exports field to react-refresh's package.json (#23087) 2022-01-11 16:48:09 +00: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.