You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to cancel a request made to filemaker, if for example a React useEffect hook initiates a request but the component is then unmounted. We could use the abort controller to tell FMGofer to stop waiting for a response and prevent it from logging the timeout error in the console. I.e. cancel the promise.
It would be nice to be able to cancel a request made to filemaker, if for example a React
useEffect
hook initiates a request but the component is then unmounted. We could use the abort controller to tell FMGofer to stop waiting for a response and prevent it from logging the timeout error in the console. I.e. cancel the promise.Reference article from Fabio: https://spencerfeng.medium.com/create-an-abortable-api-using-abortcontroller-and-abortsignal-d774bed40701
The text was updated successfully, but these errors were encountered: