capacitor-community / capacitor-community/react-hooks
Capacitor v4 Support
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When I run `npm install` with `@capacitor-community/storage-react` and `@capacitor/core@4.3.0` in my `package.json`, I run in to a peer dependency error because `@capacitor-community/storage-react` requires `@capacitor/core@">=3.0.0"`. If the hooks are compatible, we should simply update the `peerDependencies` list in each to add capacitor v4.
**To Reproduce**
Steps to reproduce the behavior:
1. set up a capacitor v4 project
2. `npm i @capacitor-community/storage-react`
3. See the peer dependency error in console
**Expected behavior**
The package should install without errors.
**Screenshots**

**Desktop (please complete the following information):**
- OS: Mac OS Ventura
- Browser N/A
**Additional context**
npm version 8+
Contributor guide
Assessment
This issue has not been assessed yet.