Google News
logo
ReactJS - Quiz(MCQ)
When do you use useLayoutEffect?
A)
to optimize for all devices
B)
to complete the update
C)
to change the layout of the screen
D)
when you need the browser to paint before the effect runs

Correct Answer :   when you need the browser to paint before the effect runs