https://programmingfields.com/how-to-use-useeffect-hook-in-react-functional-component/
How to Use Effect Hook in React Functional Component