OpfsPersister
The OpfsPersister
interface represents a Persister
that lets you save and load Store
data to and from a file in an origin private file system (OPFS).
You should use the createOpfsPersister
function to create an OpfsPersister
object.
It is a minor extension to the Persister
interface and simply provides an extra getHandle
method for accessing the file the Store
is being persisted to.
Since
v6.7.0