react/packages/react-refresh
Brian Vaughn 2bf4805e4b
Update entry point exports (#21488)
The following APIs have been added to the `react` stable entry point:
* `SuspenseList`
* `startTransition`
* `unstable_createMutableSource`
* `unstable_useMutableSource`
* `useDeferredValue`
* `useTransition`

The following APIs have been added or removed from the `react-dom` stable entry point:
* `createRoot`
* `unstable_createPortal` (removed)

The following APIs have been added to the `react-is` stable entry point:
* `SuspenseList`
* `isSuspenseList`

The following feature flags have been changed from experimental to true:
* `enableLazyElements`
* `enableSelectiveHydration`
* `enableSuspenseServerRenderer`
2021-05-12 11:28:14 -04:00
..
npm [Fresh] react-fresh => react-refresh (#15888) 2019-06-15 19:36:46 +01:00
src Update entry point exports (#21488) 2021-05-12 11:28:14 -04: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 Remove unstable scheduler/tracing API (#20037) 2021-04-26 19:16:18 -04: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.