A simple example of how to use custom hooks in React.
Customer hooks are useful when you want to "use", as in fetch, information/data.
const [userName, setUserName] = React.useState("bob");
const currentUser = useUser(userName);
npm install
npm start