Closed lukas-kratochvil closed 3 weeks ago
Try to send the request max. 5 times with a period of 5-10 seconds and then throw an error.
Try to implement it in the useQuery() hook like this: https://tanstack.com/query/v4/docs/framework/react/guides/query-retries
As shown here retries are implemented in the default setup.
Try to send the request max. 5 times with a period of 5-10 seconds and then throw an error.