TinyBase logoTinyBase

LocalPersister

The LocalPersister interface represents a Persister that lets you save and load Store data to and from the browser's local storage.

It is a minor extension to the Persister interface and simply provides an extra getStorageName method for accessing the unique key of the storage location the Store is being persisted to.

You should use the createLocalPersister function to create a LocalPersister object.

Since

v4.3.14

Getter methods

Listener methods

Lifecycle methods

Load methods

Save methods

Development methods