React Query Tutorial for Beginners

React Query is a library for fetching data in a React application. Since React is a UI library, there is no specific pattern for data fetching. What we typically do is make use of useEffect hook for data fetching and useState hook to maintain component state like loading, error or resulting data. If the data is needed throughout the app, we tend to use state management libraries. But what is important to note here is that most of the state management libraries are good for working with client state. State like theme for the application or whether a modal is open. They are not great for working with asynchronous or server state. This is because server state is very different to client state. Client state is persisted in your app memory and accessing or updating it is synchronous. Server state on the other hand is persisted remotely, in a database perhaps and requires asynchronous APIs for fetching or updating. Also, server state unlike client state has shared ownership. Data can be updated by someone else without your knowledge which can quickly lead to UI data that is not in sync with the remote data. It becomes even more challenging when you have to deal with caching, deduping mu

رایگان25 درس2 ساعت 53 دقیقهمقدماتی

کانال Codevolution

اکتبر 2021

4 روز پیش بررسی شد

چه یاد می‌گیری

  • Project Setup
  • React Query Devtools
  • Polling
  • Data Transformation
  • Parallel Queries
  • Initial Query Data
  • Query Invalidation
  • Axios Interceptor

برگرفته از درس‌های خود دوره، به بیان نویسنده.

رایگان

این دوره رایگان است و در یوتیوب منتشر شده. نویسنده‌اش همان کانال است، ما فقط مرتب می‌کنیم و بررسی می‌کنیم که ویدیوها باز شوند.

شروع دوره

موضوع‌های مرتبط

این دوره شامل

  • 2 ساعت 53 دقیقه ویدیو
  • 25 درس
  • سطح: مقدماتی
  • زبان: English
  • یادمان می‌ماند کجا بودی
  • کاملاً رایگان، بدون کارت

درس‌ها

3 بخش · 25 درس · 2 ساعت 53 دقیقه مدت کل

درس‌های 1 تا 1010 درس · 1 ساعت
درس‌های 11 تا 2010 درس · 1 ساعت 19 دقیقه
درس‌های 21 تا 255 درس · 33 دقیقه

چه چیزی لازم است

  • به دانش قبلی نیاز نیست: دوره از صفر شروع می‌شود.

توضیحات

React Query is a library for fetching data in a React application. Since React is a UI library, there is no specific pattern for data fetching. What we typically do is make use of useEffect hook for data fetching and useState hook to maintain component state like loading, error or resulting data. If the data is needed throughout the app, we tend to use state management libraries. But what is important to note here is that most of the state management libraries are good for working with client state. State like theme for the application or whether a modal is open. They are not great for working with asynchronous or server state. This is because server state is very different to client state. Client state is persisted in your app memory and accessing or updating it is synchronous. Server state on the other hand is persisted remotely, in a database perhaps and requires asynchronous APIs for fetching or updating. Also, server state unlike client state has shared ownership. Data can be updated by someone else without your knowledge which can quickly lead to UI data that is not in sync with the remote data. It becomes even more challenging when you have to deal with caching, deduping mu

این دوره برای چه کسی است

  • کسانی که React را از صفر شروع می‌کنند.

این دو مورد برداشت ما از سطح دوره است. توضیحات از خود نویسنده است.

Picked on Temu

React Query Tutorial for Beginners، کانال Codevolution