Describe useLayoutEffect and compare it with useEffect. | New Hooks | react Interview Questions | NextRound.in