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