Pick a focused question that fits your time, stack, and interview goal.
How much time do you have?
Show one-drill sessions you can finish now.
14 results across 1 active filter
Page 1 of 1
Explains cleanup for subscriptions, timers, event listeners, and aborting stale fetches.
Combines debounce cleanup, AbortController, and request identity to prevent stale search results.
Explains how custom hooks share stateful behavior while preserving ownership, lifecycle, and a focused contract.
Explains what useEffect is for, how dependencies work, and how to avoid stale or runaway effects.
Repairs unstable Hook order caused by branches, early returns, callbacks, loops, or exception paths.
Owns a third-party widget through a DOM ref, effect lifecycle, minimal updates, and complete teardown.
Applies an immediate reversible mutation, blocks overlapping writes, and restores the previous state on failure.
Explains stale closures in callbacks, effects, timers, subscriptions, and how to fix them cleanly.
Uses an explicit state model for initial loading, success, empty, recoverable error, and refetching.
Makes list filters shareable and back-button friendly while resetting pagination deliberately.
Separates reactive synchronization inputs from non-reactive logic that still needs the latest props or state.
Chooses post-paint synchronization by default and reserves layout effects for pre-paint measurement or correction.
Defines a coherent subscription and snapshot contract for state owned outside React, including server rendering.
Uses development-only repeated rendering, Effects, and ref callbacks to expose impurity and missing cleanup.