Pergunta de entrevista da empresa Software Technology Group (UT)

What's the difference between useEffect and useLayoutEffect?