⬡ Unidirectional Data Flow

Parent → Child via props · Child → Parent via events

Parent Component

Props passed to child
count 0 props ↓
onIncrement fn event ↑
props ↓
event ↑

Child Component

Received count = 0
Click the button to emit an increment event ↑
Data props (down)
Child events (up)
Ready — click + Increment to trigger the flow