React: Upgrading react to v17, wip (#29057)

* React: Upgrading react, wip

* build(grafana-ui): bump react to v17

* build: get enzyme running with react 17

* chore(grafana-ui): declare isMemo namedExport for rollup

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
Torkel Ödegaard
2020-11-18 19:37:17 +01:00
committed by GitHub
co-authored by Jack Westbrook
parent ab2a46bcb3
commit ec218de05e
6 changed files with 198 additions and 92 deletions
+7 -5
View File
@@ -99,9 +99,9 @@
"@types/node": "13.7.0",
"@types/papaparse": "5.2.0",
"@types/prismjs": "1.16.0",
"@types/react": "16.8.16",
"@types/react": "16.9.9",
"@types/react-beautiful-dnd": "12.1.2",
"@types/react-dom": "16.8.4",
"@types/react-dom": "16.9.9",
"@types/react-grid-layout": "0.16.7",
"@types/react-redux": "7.1.7",
"@types/react-select": "3.0.8",
@@ -119,6 +119,7 @@
"@types/tinycolor2": "1.4.2",
"@typescript-eslint/eslint-plugin": "4.0.1",
"@typescript-eslint/parser": "4.0.1",
"@wojtekmaj/enzyme-adapter-react-17": "0.3.1",
"angular-mocks": "1.6.6",
"autoprefixer": "9.7.4",
"axios": "0.19.2",
@@ -129,8 +130,8 @@
"clean-webpack-plugin": "3.0.0",
"css-loader": "3.4.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.4",
"es-abstract": "1.18.0-next.1",
"es6-promise": "4.2.8",
"es6-shim": "0.35.5",
"eslint": "7.4.0",
@@ -262,8 +263,9 @@
"prop-types": "15.7.2",
"rc-cascader": "1.0.1",
"re-resizable": "^6.2.0",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-beautiful-dnd": "13.0.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-grid-layout": "0.17.1",
"react-highlight-words": "0.16.0",
"react-loadable": "5.5.0",