You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the data is set to undefined when the request fails instead of retaining last results. If this is the expected behaviour never mind what I said.
需求描述 Feature Description
If
initialData
is given, the result type should not have theundefined
part.The
ref
function invue
is a good example:建议的解决方案 Proposed Solution
| undefined
part inState
Option
QueryState
interface anduseRequest
signature.Same modification is needed for
useLoadMore
,usePagination
.其他信息 Other information
The text was updated successfully, but these errors were encountered: