Reflex State Lifecycle: Using on_mount and on_unmount for Clean Resource Management
Reflex State supports on_mount and on_unmount lifecycle hooks for starting and cleaning up server-side work. Use them to avoid leaked timers and connections when users navigate away.