sajad torkamani

In a nutshell

The status of a useQuery can be one of the following:

  • pending: There is no cached data and no query attempt has finished yet.
  • error: The query attempt resulted in an error.
  • success: The query received a response without any errors.

Sources

Leave a comment

Your email address will not be published. Required fields are marked *