Go Career
Explore
Pricing
Resources
Login
Get Started
Interview Prep
Back to React
Advanced React
14 questions
Questions
1
Question 1
2
Question 2
3
Question 3
4
Question 4
5
Question 5
6
Question 6
7
Question 7
8
Question 8
Multi
9
Question 9
10
Question 10
11
Question 11
12
Question 12
13
Question 13
14
Question 14
Toggle Sidebar
Back to Advanced React
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.
Upgrade Now
Previous
Back to Advanced React
Next