@preact/compat

Alias of preact/compat

Usage no npm install needed!

<script type="module">
  import preactCompat from 'https://cdn.skypack.dev/@preact/compat';
</script>

README

@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.