useRelationshipsOrRelationshipsById
The useRelationshipsOrRelationshipsById hook is used to get a reference to a Relationships object from a Provider context, or have it passed directly.
useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId?: MaybeGetter<undefined | RelationshipsOrRelationshipsId>): () => Relationships | undefined| Type | Description | |
|---|---|---|
relationshipsOrRelationshipsId? | MaybeGetter<undefined | RelationshipsOrRelationshipsId> | The |
| returns | () => Relationships | undefined | A getter function returning the |
Since
v8.1.0