filmov
tv
Pagination in React Tutorial with React Query, Hooks Examples

Показать описание
This pagination in React tutorial gives two full examples with React hooks and React Query. You will learn how to display pages of query data, numbered buttons, and create next page, previous page, first page and last page functions for navigation.
⭐ Become a full-stack web dev with Zero To Mastery Courses:
Pagination in React Tutorial with React Query, Hooks Examples
(00:00) Intro
(00:33) Welcome
(00:43) Installing dependencies
(01:32) Tutorial Pace
(02:02) Begin Example #1: Axios
(03:50) React hooks only, Basic API
(04:37) Post component
(04:51) useEffect
(05:38) Complete Example1 component
(07:16) Check Example #1 functionality
(08:57) Begin Example #2
(09:17) User component
(09:40) More useful API data
(10:55) Axios instance #2
(11:53) Example #2 imports
(12:37) React Query: useQuery
(14:01) React Query: isPreviousData and keepPreviousData
(15:19) More Example2 component
(18:47) PageButton component
(19:39) Example2 JSX
(20:05) Example #2 functionality
(21:03) Change next & previous to first & last
(21:57) Test the new functions
📚 Tutorial References:
🔗 ES7 React JS Snippets Extension for VS Code:
🔗 React Dev Tools Extension for Chrome:
📚 General React References:
✅ Follow Me:
Was this React Pagination tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#react #pagination #tutorial
Комментарии