Issue related to rendering snapshot version changes from database

Finally got inspiration from this thread and was able to solve my own issue. Need to make sure:

  1. Gc is turned off upon instantiation of the ydoc.
const doc = new ydoc({gc:false})
  1. Do that from both client and server side, and throughtout the life cycle of a ydoc.

That did the trick for me.

1 Like