1.0.0 • Published 1 month ago
danghoangzxje-hooks v1.0.0
tapas-countries
A ReactJS custom hook information.
🫶 Support
Liked it? You can show your support with a STAR(⭐).
How to use it?
You can use the project in this way:
Install
# with npm
npm install dhoangzxje-hook
# with yarn
yarn add dhoangzxje-hook
Usage
- Import the package in your app:
import {useFetch} from 'dhoangzxje-hook';
- Get the country information from the hook:
const {loading, error, data} = useCountry('https://...')'
1.0.0
1 month ago