Skip to content

Commit cdaf2eb

Browse files
authored
Fix add missing peer dependency
react-dom is used in production code, so it should be a peer dependency https://github.com/reduxjs/react-redux/blob/fa5857281a37545c7c036fb2499159b865b1c57d/src/utils/reactBatchedUpdates.js#L2 It currently causes issues with pnpm which won't provide access to packages that are not declared as dependencies in package.json
1 parent 4b9cece commit cdaf2eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
},
3838
"peerDependencies": {
3939
"react": "^16.8.3",
40+
"react-dom": "^16.8.6",
4041
"redux": "^2.0.0 || ^3.0.0 || ^4.0.0-0"
4142
},
4243
"dependencies": {

0 commit comments

Comments
 (0)