react/packages/react-refresh
Josh Story da6ba53b10
[UMD] Remove umd builds (#28735)
In React 19 React will finally stop publishing UMD builds. This is
motivated primarily by the lack of use of UMD format and the added
complexity of maintaining build infra for these releases. Additionally
with ESM becoming more prevalent in browsers and services like esm.sh
which can host React as an ESM module there are other options for doing
script tag based react loading.

This PR removes all the UMD build configs and forks.

There are some fixtures that still have references to UMD builds however
many of them already do not work (for instance they are using legacy
features like ReactDOM.render) and rather than block the removal on
these fixtures being brought up to date we'll just move forward and fix
or removes fixtures as necessary in the future.
2024-04-17 11:15:27 -07:00
..
npm [Fresh] react-fresh => react-refresh (#15888) 2019-06-15 19:36:46 +01:00
src Remove module pattern function component support (flag only) (#28671) 2024-03-29 11:16:17 -04:00
babel.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json [UMD] Remove umd builds (#28735) 2024-04-17 11:15:27 -07:00
README.md Update react-refresh README 2020-04-30 15:43:21 +01:00
runtime.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00

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.