October 2019
Intermediate to advanced
426 pages
11h 49m
English
The useBoolean Hook is used to deal with toggling boolean values (true/false), and provides functions to set the value to true/false, and a toggle function to toggle the value.
The Hook returns an object with the following:
The Boolean Hook works as follows:
import React from 'react'import { useBoolean } from 'react-hookedup'
Read now
Unlock full access