From 782e7f7612a5bba2ed67b7bf1ade1961a1cf289e Mon Sep 17 00:00:00 2001 From: Osku Date: Tue, 30 Jan 2024 17:53:34 +0200 Subject: [PATCH] Update React and dependencies versions to work with 17 or 18 - Updated React and React DOM dependencies to version 16.11.0 or higher. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 05c32ae..f923c88 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "prop-types": "^15.5.6" }, "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0", - "react-dom": "0.14.x || ^15.0.0 || ^16.0.0" + "react":">=16.0.0", + "react-dom":">=16.0.0" }, "devDependencies": { "autoprefixer-loader": "^3.1.0", @@ -70,8 +70,8 @@ "karma-webpack": "^1.7.0", "mocha": "^4.0.1", "node-sass": "^4.13.0", - "react": "^16.11.0", - "react-dom": "^16.11.0", + "react": ">=16.11.0", + "react-dom": ">=16.11.0", "react-tools": "^0.13.2", "react-transform-catch-errors": "^1.0.0", "react-transform-hmr": "^1.0.1",