Creates a root ref to an object, which in its snapshot form has an id. A root ref will only be able to resolve references as long as both the Ref and the referenced object share a common root.
T Target object type.
Unique model type id.
Optional
Root reference options.
A function that allows you to construct that type of root reference.
Creates a root ref to an object, which in its snapshot form has an id. A root ref will only be able to resolve references as long as both the Ref and the referenced object share a common root.
Typeparam
T Target object type.