Question 10/14
advanced
Select one answer

What is useLayoutEffect and when should you use it?

It's the same as useEffect
Fires synchronously after DOM mutations, use when measuring layout or needing synchronous re-render
For creating CSS layouts
Only for animations

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.