Use Y.js CRDT for view id mapping

This fixes glitches when typing in the grid boxes by allowing concurrent
writes and removing the need to read state from the server to render the
box values.
This commit is contained in:
Max Goodhart
2020-07-05 17:25:57 -07:00
parent 71572df9c5
commit 8f6210da20
6 changed files with 136 additions and 54 deletions

View File

@@ -35,7 +35,8 @@
"svg-loaders-react": "^2.2.1",
"ws": "^7.3.0",
"xstate": "^4.10.0",
"yargs": "^15.3.1"
"yargs": "^15.3.1",
"yjs": "^13.2.0"
},
"devDependencies": {
"@babel/core": "^7.10.2",