{"library":"react-native-cancelable-fetch","type":"library","category":null,"description":"A lightweight library for making cancelable HTTP fetch requests in React Native applications (v0.1.1, no recent updates). It wraps the native fetch API and allows cancellation of in-flight requests using a numeric, string, or object tag. This is useful to prevent memory leaks and state updates on unmounted components. Unlike AbortController (not available in older React Native), it provides a simpler tag-based cancellation mechanism. However, the package has not been updated since 2016 and may have compatibility issues with modern React Native versions.","language":"javascript","status":"deprecated","version":"0.1.1","tags":["javascript","react-native","cancelable","fetch"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-native-cancelable-fetch","imports":["import fetch from 'react-native-cancelable-fetch'","import fetch from 'react-native-cancelable-fetch'; fetch.abort(tag)"]},{"cmd":"yarn add react-native-cancelable-fetch","imports":[]},{"cmd":"pnpm add react-native-cancelable-fetch","imports":[]}],"homepage":"https://github.com/apentle/react-native-cancelable-fetch#readme","github":"https://github.com/apentle/react-native-cancelable-fetch","docs":null,"changelog":null,"pypi":null,"npm":"react-native-cancelable-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}