Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 useSuspenseData 的 refetch 逻辑 #6922

Open
ClarkXia opened this issue Jun 24, 2024 · 0 comments
Open

支持 useSuspenseData 的 refetch 逻辑 #6922

ClarkXia opened this issue Jun 24, 2024 · 0 comments
Labels

Comments

@ClarkXia
Copy link
Collaborator

Summary | 概述

No response

Motivation | 背景

在输出流式数据并完成 hydrate 后,对应 useSuspenseData 不支持 refetch,这样会造成,同一个请求逻辑需要再次写一次 useRequest 逻辑。期望框架提供解决方案或最佳实践。

Usage example | 使用示例

No response

Detailed design | 方案设计

提供新 API 简化上述逻辑

Additional context | 额外信息

No response

@ClarkXia ClarkXia added the rfc label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant