Replies: 6 comments 3 replies
-
I was talking to @jmikrut about this yesterday actually. There are a few use-cases that need this kind of communication, though we are still concepting and a ways out from building these.
I like your architectural ideas, we haven't done this exploration yet. We're a ways out from having either of those, but these will likely be in the roadmap when we can turn our attention to that again! |
Beta Was this translation helpful? Give feedback.
-
Even for a complex field like the Rich-Text field, since it's based on Slate, I think even sending just diffs could be a possibility. For quick testing https://github.com/Jack-Works/async-call-rpc is a nice start to get running quickly without diving into the WebsSocket protocol ;) |
Beta Was this translation helpful? Give feedback.
-
I was on the most rudimental setup possible able to live-edit the same document today with someone. A million miles from production-ready, but at least good enough proof-of-concept for me Linkdump: https://github.com/docket-hq/slate-sheikah#readme https://stackoverflow.com/questions/60183962/in-slate-js-editor-applyoperation-is-not-applying-split-node-operations-corr |
Beta Was this translation helpful? Give feedback.
-
Any update on this? For shared edit UI, are there any unexpected technical hurdles to creating a custom rich text editor component that handles all of the websockets etc within? Is payload writing content updates to the db live or only after a user saves the post? |
Beta Was this translation helpful? Give feedback.
-
Interesting info for offline-first and server sync with Dexie.js: https://dexie.org/docs/dexie-react-hooks/useLiveQuery()
|
Beta Was this translation helpful? Give feedback.
-
https://graphback.dev/docs/datasync/intro/
https://offix.dev/docs/introduction
|
Beta Was this translation helpful? Give feedback.
-
It would be nice to create a websocket that receives a stream of updates from updates in the admin panel. I'm not sure what performance implications this has though and I'm sure others might have as well in the future, so I thought worth a discussion.
I for now see a few options;
Pretty sure there are more ways to go about this. Interested in hearing what you guys see as the most future-proof 🙃
Beta Was this translation helpful? Give feedback.
All reactions