These hooks are provided as helpers for using Automerge in your SolidJS project.
Wrapper context required in Automerge-Repo Solid apps
Get a the current repo from the context.
Get a handle from the repo.
Get a document and change function from the repo.
Create a store for a handle's document. We subscribe to the handle's changes, and apply the incoming patches to the precise the fields of the store that have changed to provide fine-grained reactivity that's consistent across space and time.