@custom-react-hooks/use-toggle
MIT`useToggle` is a custom React hook for managing boolean states with enhanced control. It provides a simple and efficient way to toggle a boolean state and execute a callback function in response to the state changes.
90
Security score
0 known advisories in v1.5.1
Weekly downloads
—
Unpacked size
7.0 kB
Dependencies
0
Last publish
2 years ago
Security advisories
No known vulnerabilities affect v1.5.1.