TinyBase logoTinyBase

persister-yjs

The persister-yjs module of the TinyBase project provides a way to save and load Store data, to and from a Yjs document.

A single entry point, the createYjsPersister function, is provided, which returns a new Persister object that can bind a Store to a provided Yjs document.

See also

Synchronizing Data guide

Since

v4.0.0

createYjsPersister

The createYjsPersister function creates a Persister object that can persist the Store to a Yjs document.