diff --git a/package.json b/package.json index bf9250b..861fee1 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "author": "“Robin (https://www.robinwieruch.de)", "license": "MIT", "peerDependencies": { - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": ">=16.8.6 <19", + "react-dom": ">=16.8.6 <19" }, "devDependencies": { "@babel/cli": "^7.4.4", @@ -34,8 +34,8 @@ "eslint-plugin-react": "^7.14.2", "eslint-plugin-react-hooks": "^1.6.1", "prettier": "^1.18.2", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "react": ">=16.8.6 <19", + "react-dom": ">=16.8.6 <19", "webpack": "^4.31.0", "webpack-cli": "^3.3.2" },