Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make react an optional peer dependency
NPM just launched optional peer dependency support via `peerDependenciesMeta` (npm/cli#224), so we can now leverage this to make `react` a trully optional dep, instead of using NPM's poorly named `optionalDependencies` (since `optionalDependencies` are really just normal dependencies). This means people using `@apollo/client` who aren't interested in using React won't be annoyed by missing `react` peer dependency warnings from npm.
- Loading branch information