Skip to content

Commit 12bb439

Browse files
author
Erik Rasmussen
committed
fix: align react-dom peerDependency with react version range
Closes #28 Closes #30 The react peerDependency supports React 16.8+, 17, 18, and 19, but react-dom was locked to ^18.2.0, causing peer dependency warnings for users on React 17 and earlier. This aligns react-dom to match the react version range, allowing the library to work correctly across all supported React versions.
1 parent cabd244 commit 12bb439

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"peerDependencies": {
9393
"final-form": ">=5.0.0",
9494
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
95-
"react-dom": "^18.2.0",
95+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
9696
"react-final-form": ">=7.0.0"
9797
},
9898
"jest": {

0 commit comments

Comments
 (0)