Ambient corpus scope. A corpus-rendering app wraps its content tree in <CorpusContext value={{ root, entry, toHref }}>; nesting a second provider inside a rendered sub-corpus makes the innermost win, as with LinkSpaceContext.
<CorpusContext value={{ root, entry, toHref }}>
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ambient corpus scope. A corpus-rendering app wraps its content tree in
<CorpusContext value={{ root, entry, toHref }}>; nesting a second provider inside a rendered sub-corpus makes the innermost win, as with LinkSpaceContext.