7.6.2.69. useSafetyFirst
Deprecated: This hook is not related to console functionality. Hook that ensures a safe asynchronnous setting of React state in case a given component could be unmounted. It returns an array with a pair of state value and its set function.
| Parameter Name | Description |
|---|---|
|
| initial state value |