React-query: Cancel requests

Created on 16 Nov 2019  路  3Comments  路  Source: tannerlinsley/react-query

There are often times in a web application where you need to send a request for the latest user interaction. We need a way to prevent subsequent (async) logic from running for all but the most recent request 鈥撀爏omething like Axios' cancel token or fetch()'s AbortController.

Most helpful comment

Upgrade to 0.3.14

All 3 comments

Upgrade to 0.3.14

Since the documentation have moved to a new website, you also find the canceling-query-request in this link

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jackmellis picture jackmellis  路  5Comments

bgazzera picture bgazzera  路  4Comments

CreativeTechGuy picture CreativeTechGuy  路  3Comments

tiagoengel picture tiagoengel  路  5Comments

aleksandarcrvc picture aleksandarcrvc  路  3Comments