News for hackers. Stuff that matters.
Re:A simple way to build collaborative web apps by idontevengohere on Tuesday August 17, 2021 @10:58AM (#28210566)
Really interesting...you can build a similar (websocket/db backed) app with LiveView out of the box, no? Any idea how well that'd hold up against this solution?
Re:A simple way to build collaborative web apps by valzam on Tuesday August 17, 2021 @10:19PM (#28217118)
The big difference is that with CRDTs you can make edits offline and they will get merged with other changes when you come back online. Websocket/db really only works when you always online.

That being said you can totally implement collab without CRDTs and if you don't particularly need offline it should be easier.

Re:A simple way to build collaborative web apps by paulgb on Tuesday August 17, 2021 @02:58PM (#28213521)
Does LiveView have any conflict resolution, or would it just be last-write-wins?
Re:A simple way to build collaborative web apps by _virtu on Tuesday August 17, 2021 @11:53AM (#28211218)
This was my first thought as well.