How Does the useEffect Dependency Array Work in React? | asif.to Tutorials