It works by sharing state with yjs [1], as long as you are in the same session, i.e. the same path.
https://github.com/yjs/yjs