Hooks
Effect dependencies
List reactive inputs read by setup and cleanup; comparisons are per entry with Object.is.
Formal Syntax & Structure
react syntaxreact
useEffect(setup, [zone])Working Example
Example Snippetreact
useEffect(() => subscribe(zone), [zone]);