Optional
id: AnyDocumentIda tuple of the document and a function to change the document.
The document will be undefined
if the document is not available in storage or from any peers
This requires a RepoContext to be provided by a parent component.
A hook which returns a document identified by a URL and a function to change the document.