feat: add support for React@18 in backward compatible way (#9435)

Any React version matching this semver is supported: >= 16.8 < 19

Refs #8126
Refs #8414
This commit is contained in:
Vladimír Gorej
2023-12-20 16:50:22 +01:00
committed by GitHub
parent 08fe66b8fd
commit 98b53090cb
11 changed files with 2153 additions and 24278 deletions

View File

@@ -90,10 +90,10 @@
"prop-types": "^15.8.1",
"randexp": "^0.5.3",
"randombytes": "^2.1.0",
"react": "=17.0.2",
"react": ">=16.8.0 <19",
"react-copy-to-clipboard": "5.1.0",
"react-debounce-input": "=3.3.0",
"react-dom": "=17.0.2",
"react-dom": ">=16.8.0 <19",
"react-immutable-proptypes": "2.2.0",
"react-immutable-pure-component": "^2.2.0",
"react-inspector": "^6.0.1",
@@ -125,7 +125,7 @@
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@release-it/conventional-changelog": "=5.1.0",
"@svgr/webpack": "=8.1.0",
"@wojtekmaj/enzyme-adapter-react-17": "=0.8.0",
"@cfaester/enzyme-adapter-react-18": "=0.7.1",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.3",
"babel-plugin-lodash": "=3.3.4",
@@ -177,7 +177,7 @@
"prettier": "^3.1.0",
"process": "^0.11.10",
"react-refresh": "^0.14.0",
"react-test-renderer": "=17.0.2",
"react-test-renderer": "^18.2.0",
"release-it": "=15.4.2",
"rimraf": "^5.0.5",
"sass": "^1.69.5",