lukas-kratochvil / mafil-proband-safety-questionnaire

MAFIL - Proband Safety Questionnaire
https://mafil-proband-safety-questionnaire.vercel.app
The Unlicense
2 stars 0 forks source link

Implement a call-loop for failed MAFILDB API calls #8

Closed lukas-kratochvil closed 3 weeks ago

lukas-kratochvil commented 4 months ago

Try to send the request max. 5 times with a period of 5-10 seconds and then throw an error.

lukas-kratochvil commented 3 months ago

Try to implement it in the useQuery() hook like this: https://tanstack.com/query/v4/docs/framework/react/guides/query-retries

lukas-kratochvil commented 3 weeks ago

As shown here retries are implemented in the default setup.