Commit Graph

1 Commits

Author SHA1 Message Date
鄭沛軒 914c981c4b refactor: 優化 review-simple 狀態管理架構
- 使用 useMemo 優化排序計算性能
- 創建 useReducer 統一狀態管理
- 抽離自定義 Hook useReviewSession
- 優化卡片查找邏輯,使用 Map 替代 findIndex
- 簡化 data.ts,移除過時的狀態處理函數
- 清理 CardState 接口,移除計算屬性

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-04 23:02:54 +08:00