Leaderboards updated in real time during events: streams of rank changes flowing through Socket.IO while participants watched their own position. Re-rendering the whole board on every message made rank animations stutter exactly when the most people were looking.
I moved socket handling out of component state into a store that batches updates per animation frame, diffed incoming ranks against the visible slice, and re-rendered only rows whose position actually changed — with transform-based animations for reordering instead of layout thrash.
During live events the board stayed smooth on conference-hall wifi and mid-range phones. The platform now serves 12,000+ active users across multiple events, with zero critical frontend bugs reported after launch.