use-toggle-state

use-toggle-state JS library on GitHub use-toggle-state JS library on npm Download use-toggle-state JS library

A useState like hook for boolean values that returns the state, and a ToggleStateAction instead of a SetStateAction that all the setState callback to be called without passing any arguments to simply toggle the boolean value.

Version 1.1.3 License MIT
use-toggle-state has no homepage
use-toggle-state JS library on GitHub
use-toggle-state JS library on npm
Download use-toggle-state JS library
Keywords
reactstatetoggleopenhooktypescript