Independent components with isolated state and event handling
Each counter is an independent component with its own state. Click "Notify Parent" to see parent-child communication.
Components can send events to their parent via send_parent().
Simple boolean state components. Each toggle maintains its own state.
1. Component Definition: Extend LiveComponent with mount(), update(), handle_event(), and template()
2. Event Targeting: Use phx-target="{meta.myself}" to route events to the component
3. State Isolation: Each component instance has its own context, stored externally by CID
4. Parent Communication: Components can call send_parent() to send events up