Constructing Replicache
The Replicache constructor requires a name
.
Replicache stores data persistently in the browser using IndexedDB. Instances that have the same name
share storage. You should typically use the logged-in user's ID as the name
, to keep their storage separate from any other users on the same device.