What are the key differences between using useEffect and useLayoutEffect in React, and in what scenarios should you prefer one over the other for handling side effects in your components??
useEffect
useLayoutEffect