persister-browser
The persister-browser
module of the TinyBase project lets you save and load Store
data to and from browser storage.
Two entry points are provided, each of which returns a new Persister
object that can load and save a Store
:
- The
createSessionPersister
function returns aPersister
that uses the browser's session storage. - The
createLocalPersister
function returns aPersister
that uses the browser's local storage.
See also
Persistence guides
Since
v1.0.0
Interfaces
These are the interfaces within the persister-browser
module.
Functions
These are the functions within the persister-browser
module.