Skip to content

Commit

Permalink
Upgrade to React 17 (#2037)
Browse files Browse the repository at this point in the history
* upgrade react core depedencies to React 17
* Upgrade react-simple-code-editor and remove enzyme react 16 adapter
* replace enzyme adapter react
* Fix: fix failing Editor test
* Chore: update dependencies in examples/basic

BREAKING CHANGE:

React 16 no longer supported
  • Loading branch information
ThomasRoest authored Oct 14, 2022
1 parent f1a0c21 commit 374acc5
Show file tree
Hide file tree
Showing 5 changed files with 810 additions and 2,606 deletions.
26 changes: 13 additions & 13 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@
"dog-names": "^2.0.0",
"lodash": "^4.17.19",
"prop-types": "^15.7.2",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-styleguidist": "^11.0.0"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-styleguidist": "^12.0.1"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"file-loader": "^4.2.0",
"style-loader": "^1.0.0",
"url-loader": "^2.2.0",
"webpack": "^4.41.1"
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.18.6",
"babel-loader": "^8.1.0",
"css-loader": "^6.7.1",
"file-loader": "^6.2.0",
"style-loader": "^3.3.1",
"url-loader": "^4.1.1",
"webpack": "^5.72.0"
}
}
Loading

0 comments on commit 374acc5

Please sign in to comment.