Greetings, Yjs team. Apologies for this noob question. I’m currently using slate. I do persist data in Dynamodb as follows:
content: JSON String of slate state
posts : [Post]
I’m not sure how to go from this backend to a Yjs compatible backend.
Do I need to remove the JSON representation of the content and replace it with Yjs data model? How does Yjs db storage model look like?
I learned from another post that Yjs stores only updates. Does that mean that I should create a separate table for the updates, create a relationship between Post and Updates and populate the Post.content field with the last snapshot?
I am particularly confused about how Yjs plays out with an existing backend, can anyone please shed some light on that?