MCQ Answer

Why is useLayoutEffect used?

Why is useLayoutEffect used?

Topic : Miscellaneous

A. To complete the update

B. To optimize for all devices

C. To change the layout of the screen

D. when you need the browser to paint before the effectors




Correct Answer is :

D. when you need the browser to paint before the effectors



Explanation
When you need the browser to paint before the effect runs, useLayoutEffect used.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad