Refactor/ts sockets (#210)

* refactor(ts): create socket subscription service
* refactor(ts-sockets): useSubscription hook
* refactor(ts-sockets): extract colour selection to utility
This commit is contained in:
Carlos Valente
2022-10-09 19:09:47 +02:00
committed by GitHub
parent f119fb4529
commit cd0577bf99
26 changed files with 346 additions and 254 deletions
+1
View File
@@ -54,6 +54,7 @@
"@testing-library/react": "^13.1.1",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.1.1",
"@types/color": "^3.0.3",
"@types/node": "^18.7.16",
"@types/react": "^18.0.19",
"@types/react-dom": "^18.0.6",