useRelationships
The useRelationships hook returns the default Relationships object from the current Provider context (or a named one if an Id is provided).
useRelationships(id?: string): Relationships | undefined| Type | Description | |
|---|---|---|
id? | string | An optional |
| returns | Relationships | undefined | The |
Since
v8.1.0