Why you should use react-query instead of useEffects for API Calls?
عن هذا المشروع
Why you should use React Query instead of useEffect for API Calls? This repo, gives great examples of why you should use react-query library for fetching and storing the state of your server-side data in React instead of gambling with useEffect and redux use react-query for fetching it has isLoading, error, isSuccess with a single hook It's smart about when to refetch and sharing data between components Uses cache cleverly giving you all the control Easy to use and makes it easier for your team All the details are explained on CoderOne's youtube channel: https://youtu.be/Kjkx2BASAZA
من ملف README الخاص بالمشروع على
GitHub
- النجوم
- 59
- التفريعات
- 26
- آخر تحديث
- 11/03/2023
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/react-query-useeffect)