Skip to content

Commit

Permalink
Remove react-dom peer dep from react-apollo/hooks
Browse files Browse the repository at this point in the history
Fixes apollographql#3704 

Looked through all the files for this package and I didn't see any usage of `react-dom` so its unnecessary as a peer dep. I didn't check other packages, so its possible the peer dep is extraneous elsewhere as well.
  • Loading branch information
maclockard committed Jan 2, 2020
1 parent 50a8d55 commit 5f66a66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"graphql": "^14.3.1",
"react": "^16.8.0",
"react-dom": "^16.8.0"
"react": "^16.8.0"
},
"dependencies": {
"@apollo/react-common": "file:../common",
Expand Down

0 comments on commit 5f66a66

Please sign in to comment.