aribouius / jsonapi-react

A minimal JSON:API client and React hooks for fetching, updating, and caching remote data.
MIT License
149 stars 28 forks source link

Update peerDependencies for React 17 #25

Closed dariusk closed 3 years ago

dariusk commented 3 years ago

Because of outdated peer dependencies,npm install fails (on npm v7+) if you are using React 17. A --force flag ignores the peer dependency and it works just fine, but this PR will make the library install to a React 17 project with no errors or flags needed, which is especially helpful in continuous integration scenarios where you don't want to force install all packages.

aribouius commented 3 years ago

This is now available as of version 0.0.24.