title: How to add a cookie or localstorage using React Hooks
body: <p>I'm currently working in a new project using React Hooks and im quite lost. I checked some libraries from other developers to add a cookie using hooks but I'm not comfortable using external dependencies. Can someone tell me about how to include cookies or local storage on Hooks ? </p>