What is a stale closure?
A stale closure happens when a function captures outdated state values.
Practice exam-ready one liner questions for Interview Practice with quick answers for SSC, Railway, Banking and competitive exams.
Total Questions: 54
A stale closure happens when a function captures outdated state values.
Hooks allow logic sharing via custom hooks.
Strict Mode highlights potential problems in applications.
Concurrent rendering allows React to work on multiple tasks simultaneously.
React Fiber is the reconciliation engine of React.
Reconciliation is the process of updating the DOM efficiently.
useEffect is a React Hook used to perform side effects in functional components.
useEffect is used to handle tasks like API calls, subscriptions, timers, and DOM updates.
useEffect runs after every render of the component by default.
The effect runs after every render.
Copyright 2026 Exambodh - aptitude, reasoning & verbal practice.