Mar 7, 2023
Nice read, but there are 2 ways that we can do this without an additional custom hook
- pass an onError handler to query client
- (if you are using axios) setup a interceptor to handle the error on response
Nice read, but there are 2 ways that we can do this without an additional custom hook
- pass an onError handler to query client
- (if you are using axios) setup a interceptor to handle the error on response