Campalin interview question

Difference between useEffect and useLayoutEffect?