Computes the key under which a Ditto instance is registered in the provider's
DittoHash.
Uses the persistence directory configured on the instance — matching the
value a consumer passes to useDitto or a hook's persistenceDirectory
option — and falls back to the resolved absolute directory when none was set.
Computes the key under which a Ditto instance is registered in the provider's DittoHash.
Uses the persistence directory configured on the instance — matching the value a consumer passes to useDitto or a hook's
persistenceDirectoryoption — and falls back to the resolved absolute directory when none was set.