-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
React Query
Vietnamese 🇻🇳
Một thư viện quản lý state và cache cho dữ liệu từ API hoặc bất kỳ nguồn dữ liệu nào khác. Nó giúp bạn quản lý các yêu cầu mạng, lưu trữ dữ liệu tạm thời trong bộ nhớ cache, và cung cấp các hook để dễ dàng tương tác với dữ liệu.
| Tính Năng | Mô Tả |
|---|---|
| Quản lý dễ dàng | React Query giúp quản lý các yêu cầu mạng và dữ liệu tạm thời một cách dễ dàng và hiệu quả. |
| Caching linh hoạt | Dữ liệu được lưu trữ tạm thời trong cache, giảm việc gửi các yêu cầu mạng trùng lặp, tăng tốc độ. |
| Automated Data Fetching | Tự động tải lại dữ liệu khi cần thiết, chẳng hạn khi component được mount lại hoặc dữ liệu hết hạn. |
| Optimistic Updates | Cho phép cập nhật giao diện người dùng ngay lập tức mà không cần chờ phản hồi từ server. |
| Supports Infinite Loading | Hỗ trợ tải dữ liệu không giới hạn và phân trang một cách dễ dàng. |
| Tích hợp tốt với React Hooks | Hoạt động tốt với React Hooks, giúp xây dựng ứng dụng React mạnh mẽ và hiệu quả. |
English 🏴
A state and cache management library for data from API or any other data source. It helps you manage network requests, cache temporary data, and provide hooks to easily interact with data.
| Feature | Description |
|---|---|
| Easy Management | React Query helps manage all network requests and temporary data effortlessly and efficiently. |
| Flexible Caching | Data is stored temporarily in the cache, reducing redundant network requests and boosting speed. |
| Automated Data Fetching | Automatically refetches data when needed, such as when a component is re-mounted or data becomes stale. |
| Optimistic Updates | Allows instant UI updates without waiting for a response from the server. |
| Supports Infinite Loading | Supports infinite data loading and pagination scenarios easily. |
| Seamless Integration with React | Works seamlessly with React Hooks, enabling the construction of powerful and efficient React apps. |
