chore: use swr subscription for layout traffic / memory (#1202)

* chore: update swr to 2

* refactor: use swr subscription for memory & traffic

* refactor: introduce `sockette`
This commit is contained in:
Sukka
2024-06-14 18:23:29 +08:00
committed by GitHub
parent 3a5f1b41a4
commit 9f76e0e056
3 changed files with 113 additions and 40 deletions

View File

@@ -49,7 +49,8 @@
"react-router-dom": "^6.23.1",
"react-transition-group": "^4.4.5",
"react-virtuoso": "^4.7.11",
"swr": "^1.3.0",
"sockette": "^2.0.6",
"swr": "^2.2.5",
"tar": "^6.2.1",
"types-pac": "^1.0.2"
},