Open Hintful opened 1 year ago
Managing state paired up with fetching data from API via axios calls, useState and useEffect hooks can be quite troublesome. TanStack Query can be a good solution to this problem.
axios
useState
useEffect
Motivation
Managing state paired up with fetching data from API via
axios
calls,useState
anduseEffect
hooks can be quite troublesome. TanStack Query can be a good solution to this problem.