DataArt interview question

explain difference between useEffect and useLayoutEffect, useTransition