thezjy
Joined 5 years ago
Karma
86
Submissions
7
Member since
Jun 17
Joined 5 years ago
https://stackoverflow.com/questions/63141448/safari-fetch-ap...
- WebSocket (and Phoenix Channel) is just a communication method. To maintain consistency and resolve conflict, you need something like Replicache.
- CRDTs are more suitable for p2p scenario while Replicache works better for client-server apps.
- Phoenix's Presence is built with CRDT but it's just a single feature, not a general CRDT toolkit.
The thread: https://twitter.com/aboodman/status/1410441402366922762
Replicache does the same thing but for a different domain from Rails: local-first web apps.
Tools like these will be appreciated during the forthcoming economic slowdown.