Represents a driver for a react hook.
Returns the current state of the data.
The current value.
Destroys the hook.
This call is optional. Hooks will be destroyed automatically when the test framework is unmounted. This is useful for testing use cases of a hook after the parent component has been unmounted.
Rerenders the underlying hook and gives the results.
Optional
The current value after the render.
Represents a driver for a react hook.