A React Hook that uses requestAnimationFrame to update the state in the next frame for better performance. This Hook works similarly to React.useState, except for the timing of updates.
Click links below to view source on GitHub.
Same as React.useState.
For more details, refer to useSafeState#options.
Same as React.useState.