ReactJS
What is prop drilling?
Prop drilling is passing data through multiple components.
Practice exam-ready one liner questions for Interview Practice with quick answers for SSC, Railway, Banking and competitive exams.
Total Questions: 54
Prop drilling is passing data through multiple components.
useContext helps avoid prop drilling.
It controls when the effect should run.
The effect runs only once after initial render.
The effect runs after every render.
Cleanup removes side effects before re-running the effect.
Hooks simplify code and improve reusability.
State lifting means moving state to a common parent component.
React.memo prevents unnecessary re-rendering of components.
Batching groups multiple state updates into a single render.
Copyright 2026 Exambodh - aptitude, reasoning & verbal practice.