## 背景 基于 PR #43 引入的 TanStack Query 架构,改造通知列表。 ## 当前问题 `src/pages/notifications/index.tsx` 使用 useEffect 获取数据。 ## 改造目标 创建 `useNotificationsQuery` hook: - 支持分页 (useInfiniteQuery) - 未读标记状态 - 实时更新支持 ## 涉及文件 - `src/pages/notifications/index.tsx` ## 关联 Part of TanStack Query migration series (PR #43)
Activity
Gaubee commentedon Dec 22, 2025
通知使用本地 notificationStore,不是从服务器获取数据,不需要 TanStack Query 改造。