ElectricSqlPersister
The ElectricSqlPersister
interface represents a Persister
that lets you save and load Store
data to and from a local ElectricSQL database.
You should use the createElectricSqlPersister
function to create an ElectricSqlPersister
object.
It is a minor extension to the Persister
interface and simply provides an extra getElectricClient
method for accessing a reference to the Electric client the Store
is being persisted to.
Since
v4.6.0