usstate boolean code example Example: usstate boolean const App = (props) => { const [isLoading, setIsLoading] = useState(false) }