4 ms·
That's a good point, and I should look into that (it's been a while since I touched that part of the codebase). Off-hand my guess is that the other reason I han
by pketh 4y ago
That's a good point, and I should look into that (it's been a while since I touched that part of the codebase). Off-hand my guess is that the other reason I handle api requests separately is because I can group multiple actions into a single request more easily, which isn't something I need to do with websocket streaming
- tough 4y agoYou might find supabase realtime an interesting read too? https://supabase.com/blog/2022/04/01/supabase-realtime-with-multiplayer-features https://supabase.com/blog/2022/04/01/supabase-realtime-with-... other CRDT/WS implementations/threads https://github.com/yjs/yjs https://github.com/yjs/yjs https://news.ycombinator.com/item?id=22039950 https://news.ycombinator.com/item?id=22039950 https://syncedstore.org/docs/sync-providers/ https://syncedstore.org/docs/sync-providers/