- Basic data fetch using useQuery hook from react-query
- Error handling in react-query
- Refetching data in the background on window focus and on reconnect
- Fetching data using a global query function
- Paginated queries
This project uses vite as build tool/command, react 18 and JavaScript.
- Fork it (https://github.com/abeinevincent/react-query-fetch/fork)
- Create your feature branch (
git checkout -b feature/sampleFeature
) - Commit your changes (
git commit -m 'Add some sampleFeature'
) - Push to the branch (
git push origin feature/sampleFeature
) - Create a new Pull Request
MIT