inputlogic / elements

Dependable UI Components for (P)React Apps
0 stars 0 forks source link

useRequest should allow retries #139

Open staydecent opened 4 years ago

staydecent commented 4 years ago

If API responds with 401, or timeout, etc. should have some mechanism of incurring an async retry. Async, in case we want to update some other code before the retry is initiated.