/useEffect-cleanup-examples

Project to illustrate how to properly handle useEffect's cleanup function with Requests made with Fetch API, Axios and ReactQuery lib.

Primary LanguageTypeScriptOtherNOASSERTION

useEffect Cleanup on Requests

with Fetch API, Axios and React Query

Motivation

This repository was made just to illustrate the difference between the request API's/libraries.

Reference

This awesome article on Blog Rocket