DashboardGrid: Refactorings and performance improvements (#35942)

* add back only re-render dashboard first time on layout change

* remove panel refs

* Updates

* Improved is in view logic

* Updates

* Remove unnessary auto sizer

* Found another approach that works with resize as well

* Updates

* fixing test

* Fixing ref issues

* Fixed mobile size handling, and view panel handling, removed now unnessary logic

* Updated snapshot
This commit is contained in:
Torkel Ödegaard
2021-06-22 14:44:18 +02:00
committed by GitHub
parent fcb4e5a211
commit f0cac149da
11 changed files with 231 additions and 1357 deletions
+1 -2
View File
@@ -275,7 +275,7 @@
"react-beautiful-dnd": "13.0.0",
"react-diff-viewer": "^3.1.1",
"react-dom": "17.0.1",
"react-grid-layout": "1.2.0",
"react-grid-layout": "1.2.5",
"react-highlight-words": "0.17.0",
"react-loadable": "5.5.0",
"react-popper": "2.2.4",
@@ -283,7 +283,6 @@
"react-reverse-portal": "^2.0.1",
"react-router-dom": "^5.2.0",
"react-select": "4.3.0",
"react-sizeme": "2.6.12",
"react-split-pane": "0.1.89",
"react-transition-group": "4.4.1",
"react-use": "13.27.0",