Skip to content

Integrate useFetch and useAsyncState #4212

@Ali-ovo

Description

@Ali-ovo

Clear and concise description of the problem

when i have a promise request, i need use useAsyncState , but this hook does not have functions such as request interception

when I use the more versatile useFetch, I have to pass in the url,this is not common in engineering projects, most of which use axios
and then useFetch does not have the usual functions such as DebounceError retryRefreshDeps

Suggested solution

Therefore, I wonder if it is possible to integrate these two hooks into useRequest

like this one : https://inhiblabcore.github.io/docs/hooks/en/useRequest/basic/#result
this hook is fully functional and also supports vue devtools

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy