Skip to content

preactjs/compat-alias-package

Repository files navigation

@preact/compat - alias package

This package is intended to be used to resolve react to preact/compat via built-in features in npm, which requires a separate package to be used. Therefore this package just re-exports preact/compat as is.

To learn more about Preact itself, check out the main repo: https://github.com/preactjs/preact

Usage

Run:

npm install react@npm:@preact/compat react-dom@npm:@preact/compat

See the npm docs for more information about aliased installs.

License

MIT, see the LICENSE file.