https://github.com/preactjs/compat-alias-package
https://github.com/preactjs/compat-alias-package
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/preactjs/compat-alias-package
- Owner: preactjs
- License: mit
- Created: 2020-09-28T21:20:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T11:56:52.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T15:32:34.448Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 12
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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:
```bash
npm install react@npm:@preact/compat react-dom@npm:@preact/compat
```
See the [npm docs](https://docs.npmjs.com/cli/v7/commands/npm-install) for more information about aliased installs.
## License
MIT, see the [LICENSE](./LICENSE) file.