TinyBase logoTinyBase

Persistence

These guides discuss how to load and save data to a Store from a persistence layer.

See also the Countries demo, the Todo App demos, and the Drawing demo.

An Intro To Persistence

The persister module framework lets you save and load Store data to and from different locations, or underlying storage types.

Database Persistence

Since v4.0, there are various options for persisting Store data to and from SQLite databases, via a range of third-party modules.

Third-Party CRDT Persistence

Some persister modules let you save and load Store data to underlying storage types that can provide synchronization, local-first reconciliation, and CRDTs.

Custom Persistence

When you want to load and save Store data in unusual or custom ways, you can used the createCustomPersister function to do so in any way you wish.