When you want to read a signal value within a component without having fine-grained reactivity.
The useRead hook was created to provide low-level access control for signals.
By utilizing this hook, you are opting out of fine-grained reactivity and other
performance enhancing benefits.
useRead accepts the following options:
| Params | Required | Description |
|---|---|---|
accessor | true | The signal Accessor value to subscribe to. |
useRead returns the latest value of the signal Accessor.
0
Render Count:
1