Skip to content

Commit 5f66a66

Browse files
authored
Remove react-dom peer dep from react-apollo/hooks
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.
1 parent 50a8d55 commit 5f66a66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/hooks/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"@types/react": "^16.8.0",
4040
"apollo-client": "^2.6.4",
4141
"graphql": "^14.3.1",
42-
"react": "^16.8.0",
43-
"react-dom": "^16.8.0"
42+
"react": "^16.8.0"
4443
},
4544
"dependencies": {
4645
"@apollo/react-common": "file:../common",

0 commit comments

Comments
 (0)