How can I handle fetch request cancellation and timeouts gracefully in an Expo app using AbortController?
In Expo, when fetching data, we need to cancel requests if the component unmounts or if a timeout occurs to avoid memory leaks and stale state. The fetch API supports AbortController, but integrating it with React Native's lifecycle and setting a timeout introduces uncertainty about proper cleanup and race conditions. Constraints include ensuring that the ab