React Hooks
A Hook is a special function that lets you “hook into” React features.
Use it when you need to add state to a function, rather than converting your function to a class.
There is no this in function components, which means we can't use classes.
To import a hook, use the syntax shown below, replacing useHook with the hook you want to import.
import { useHook } from "react";