前端查询与变更(Langflow)
io.github.langflow-ai/langflow/frontend-query-mutation
Langflow 前端使用 Axios 与 TanStack React Query v5 实现 query/mutation 模式的指南。当创建或更新 controllers/API/queries 中的 API hook、在组件中消费 UseRequestProcessor、决定使用 useQuery 还是 useMutation、处理条件查询、缓存失效、mutation 错误处理,或迁移旧 API 调用到 query hook 模式时触发。