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.
9 results across 1 active filter
Page 1 of 1
Explains cleanup for subscriptions, timers, event listeners, and aborting stale fetches.
Explains loading, error, empty, success, refetch, stale data, and request lifecycle in client-rendered React.
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.
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.