Architecture
Reconnect state machine
Represent connectivity with explicit states and bounded retry transitions.
Formal Syntax & Structure
react syntaxreact
connection(state, "failed")Working Example
Example Snippetreact
Third failed attempt becomes exhausted.