Skip to content

Instantly share code, notes, and snippets.

@QuocCao-dev
Last active November 7, 2024 03:27
Show Gist options
  • Save QuocCao-dev/34ee399d0b07233d68e2b878ef8a956b to your computer and use it in GitHub Desktop.
Save QuocCao-dev/34ee399d0b07233d68e2b878ef8a956b to your computer and use it in GitHub Desktop.
1. React Query là gì và tại sao nên sử dụng nó?
2. Các hooks cơ bản trong React Query?
3. Query Keys là gì và cách sử dụng?
4. Cách handle loading và error states?
5. Cách implement infinite scrolling với React Query?
6. Cách configure stale time và cache time?
7. Cách prefetch data?
8. Cách implement dependent queries?
9. Cách handle retry logic?
10. Cách implement polling với React Query?
11. Cách share query state giữa các components?
12. Cách setup React Query với TypeScript?
13. Cách handle pagination?
14. Cách implement background fetching?
15. Phân biệt Stale time và gcTime?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment