diff options
author | 2022-06-18 23:59:14 +0400 | |
---|---|---|
committer | 2022-06-18 23:59:14 +0400 | |
commit | 5f4ddc8fd7d84500457bb08b0981a84a2d1594b1 (patch) | |
tree | dd6d0323f69451de19a2e500fdd8814b473d0669 /package.json | |
parent | Bump CodeMirror to 6.0.0 (diff) |
Bump React To 18.2.0
Bump react to v18, and handle all the breaking changes. This includes
bumping a lot of other dependencies to versions which support react 18,
and handling the breaking changes for those.
Refer to the following documents for migration guides:
React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html
Router: https://reactrouter.com/docs/en/v6/upgrading/v5
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package.json b/package.json index 9187f2a..92e8184 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,11 @@ "fs-extra": "10.0.0", "html-webpack-plugin": "5.3.1", "identity-obj-proxy": "3.0.0", - "react": "17.0.2", - "react-app-polyfill": "2.0.0", - "react-dom": "17.0.2", - "react-router-dom": "5.2.0", - "react-spinners": "0.10.6", + "react": "18.2.0", + "react-app-polyfill": "3.0.0", + "react-dom": "18.2.0", + "react-router-dom": "6.3.0", + "react-spinners": "0.12.0", "react-transition-group": "4.4.2", "smoothscroll-polyfill": "0.4.4", "swc-loader": "0.2.3", @@ -62,8 +62,8 @@ "devDependencies": { "@swc/jest": "0.2.21", "@testing-library/jest-dom": "5.16.4", - "@testing-library/react": "11.2.6", - "@testing-library/user-event": "13.1.8", + "@testing-library/react": "13.3.0", + "@testing-library/user-event": "14.2.1", "@types/jest": "28.1.2", "@types/node": "18.0.0", "@types/react": "18.0.14", |