Creation functions
This is the collection of creation functions within the persisters
module. There are 5 creation functions in total.
createCustomPersister
The createCustomPersister
function creates a Persister
object that you can configure to persist the Store
in any way you wish.
createFilePersister
The createFilePersister
function creates a Persister
object that can persist the Store
to a local file (in an appropriate environment).
createLocalPersister
The createLocalPersister
function creates a Persister
object that can persist the Store
to the browser's local storage.
createRemotePersister
The createRemotePersister
function creates a Persister
object that can persist the Store
to a remote server.
createSessionPersister
The createSessionPersister
function creates a Persister
object that can persist the Store
to the browser's session storage.