Pergunta de entrevista da empresa Fischer Jordan

Difference between useEffect and useLayoutEffect.