swr or tanstack query for a dashboard polling 8 endpoints every 5 seconds TanStack Query
Internal ops dashboard, 8 widgets, each one hitting its own endpoint. Product wants "live", which in practice means a 5 second refresh. Maybe 30 people have it open during a shift, one of them leaves it open on a wall…