useOwnerActions
useOwnerActions
React Hook returns OwnerActions
that can be used to
reset Owner
on the current device or restore Owner
on a different one.
reset
Use reset
to delete all local data from the current device.
After the deletion, Evolu reloads all browser tabs that use Evolu.
restore
Use restore
to restore Owner
with synced data on a different device.