A callback captures the bindings from the render where it was created. Missing reactive dependencies can leave it using old data. For state based on prior state, a functional updater can help. For requests, cancel the old request or ignore stale results in cleanup so only the current request can update the UI.
Follow-up Interview Question · Why is adding a debounce not sufficient to eliminate out-of-order responses?