react-native-hook-api-call
v1.1.1
Published
Custom React Native hook for API calls using axios
Maintainers
Readme
react-native-hook-api-call
A simple and reusable React Native hook for making API calls using axios.
Features
- Customizable HTTP method (
GET,POST,PUT,DELETE) - Supports manual or automatic fetching
- Handles loading, error, and data state
- Optional custom axios instance support (e.g., for authentication tokens or baseURL)
Installation
npm install react-native-hook-api-call
# or
yarn add react-native-hook-api-call