[PR #29004] Refactor apps service toward TanStack Query #32262

Closed
opened 2026-02-21 20:51:04 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/29004

State: closed
Merged: Yes


Summary

  • add TanStack Query hooks for apps domain (lists, stats, voices, API keys) with stable query keys and invalidation helpers
  • replace SWR usage in app surfaces with the new hooks (overview charts, apps list/nav, plugin app selector, account page, TTS voice config, demo)
  • keep promise-based service helpers and drop leftover SWR fetcher typing
**Original Pull Request:** https://github.com/langgenius/dify/pull/29004 **State:** closed **Merged:** Yes --- ## Summary - add TanStack Query hooks for apps domain (lists, stats, voices, API keys) with stable query keys and invalidation helpers - replace SWR usage in app surfaces with the new hooks (overview charts, apps list/nav, plugin app selector, account page, TTS voice config, demo) - keep promise-based service helpers and drop leftover SWR fetcher typing
yindo added the pull-request label 2026-02-21 20:51:04 -05:00
yindo closed this issue 2026-02-21 20:51:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32262