[PR #29028] refactor/marketplace react query #32274

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

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

State: closed
Merged: Yes


Summary

  • wrap marketplace collection/plugin fetches with React Query (keep X-Dify-Version + no-store, support abort signals, safe empty fallback)
  • migrate marketplace search to useInfiniteQuery with cached pages, proper loading flags, and defer rendering until data arrives
  • update data source/model settings hooks to reuse cached pinned collections; keep UI loading only for initial fetch
**Original Pull Request:** https://github.com/langgenius/dify/pull/29028 **State:** closed **Merged:** Yes --- **Summary** - wrap marketplace collection/plugin fetches with React Query (keep X-Dify-Version + no-store, support abort signals, safe empty fallback) - migrate marketplace search to useInfiniteQuery with cached pages, proper loading flags, and defer rendering until data arrives - update data source/model settings hooks to reuse cached pinned collections; keep UI loading only for initial fetch
yindo added the pull-request label 2026-02-21 20:51:05 -05:00
yindo closed this issue 2026-02-21 20:51:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32274