Hooks
Effect result guard
Deactivate acceptance of old results in cleanup; ignoring is distinct from cancelling work.
Formal Syntax & Structure
react syntaxreact
let active = true;Working Example
Example Snippetreact
return () => { active = false; };