Creates a custom ref to an object, which in its snapshot form has an id.
T Target object type.
Unique model type id.
Custom reference options.
A function that allows you to construct that type of custom reference.
Creates a custom ref to an object, which in its snapshot form has an id.
Typeparam
T Target object type.