rsnext/packages/react-refresh-utils
Tim Neutkens 62bb3482fe
Fix Fast Refresh for React 18 (#35718)
- Updates the React 18 test suite to the latest React version.
- Upgrade `react-refresh` module

Fixes #35518
Fixes #35703

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`


Co-authored-by: Jiachi Liu <4800338+huozhi@users.noreply.github.com>
2022-03-30 12:16:17 +00:00
..
internal Add support for "type": "module" in package.json (#33637) 2022-02-15 16:24:11 +00:00
.gitignore Replace extra source line in webpack 5 (#14793) 2020-07-03 13:30:52 +02:00
loader.ts Add support for "type": "module" in package.json (#33637) 2022-02-15 16:24:11 +00:00
package.json Fix Fast Refresh for React 18 (#35718) 2022-03-30 12:16:17 +00:00
ReactRefreshWebpackPlugin.ts the way towards webpack 5 typings (#29105) 2021-09-21 19:17:16 +02:00
README.md Create React Refresh Utils (#12006) 2020-04-18 13:55:10 -04:00
runtime.ts Fix Web Workers with Fast Refresh (#15145) 2020-07-14 12:17:10 -04:00
tsconfig.json the way towards webpack 5 typings (#29105) 2021-09-21 19:17:16 +02:00

@next/react-refresh-utils

This is an experimental package that provides utilities for React Refresh.

Its API is not stable as that of Next.js, nor does it follow semver rules.

Use it at your own risk.

Usage

All entrypoints below must wired into your build tooling for this to work.

@next/react-refresh-utils/loader

@next/react-refresh-utils/ReactRefreshWebpackPlugin

@next/react-refresh-utils/runtime