Process Flow - Realtime with React hooks
Component mounts
Setup realtime subscription
Listen for data changes
On data update -> setState
Component re-renders with new data
Component unmounts
Cleanup subscription
This flow shows how a React component uses hooks to subscribe to realtime data, update state on changes, and clean up when done.
