FLOW LGX · PROBLEM SOLVED · SEPTEMBER 2026
Real-time features look great in a demo on office Wi-Fi. In a warehouse with patchy signal, or on a laptop that goes to sleep, connections drop all the time. A notification system that silently stops working is worse than none at all.
Month by month, how a logistics platform for a Toronto client went from a simple brief to a live, multi-company SaaS product.
When the internet drops, notifications reconnect on their own and reload from the server, so counts are never left wrong.
A live connection can fail quietly. The page still looks fine, but nothing new arrives, and the user assumes there is nothing to see. Messages sent while the user was offline are simply missed. And if every reconnect attempt fires instantly, a dropped connection can flood the server with retries.
The notification system lives in one React hook with a few rules:
Because the screen always reloads from the server after a signal, a missed message does not leave the user with a wrong count. The next signal — or simply reconnecting — brings the list back to the truth. The server stays the single source of truth, and the live connection only says when to look.
Use real-time messages to say “something changed”, then fetch the truth. A missed message should cost a second of delay, never a wrong number.