Pergunta de entrevista da empresa Campalin

Difference between useEffect and useLayoutEffect?