The problem
Nested conditionals and one-off state components everywhere — loading, error, and empty checks make components hard to read, scatter logic across the app, and hurt maintainability.
if (loading) return <Spinner />;
if (error) return <ErrorView onRetry={refetch} />;
if (!users.length) return <EmptyState />;
return <UsersTable users={users} />;

