T
TanStack3y ago
conscious-sapphire

retry post request later on the application

Hello, If my post request fails for some reason, I want retry it later on in the application with same data. Can someone point me to the right direction in the docs. Thanks.
3 Replies
other-emerald
other-emerald3y ago
what does "later" mean ?
conscious-sapphire
conscious-sapphireOP3y ago
For example when user navigates to certain screen or when user starts application it will retry it
eastern-cyan
eastern-cyan3y ago
RefetchOnMount should do the trick

Did you find this page helpful?