Fischer Jordan interview question

Difference between useEffect and useLayoutEffect.