How to Create Infinite Scroll in React | TanStack React Query

Publicado el: 23 octubre 2023
en el canal de: Cand Dev
27,148
585

Check out MiniTool MovieMaker: https://bit.ly/4hKFA9A In this video we are gonna learn how to create infinite scroll in react, we can use button "load more" to show more data, also we are gonna use "react-intersection-observer" to make it auto fetch when we scroll down.

👨‍💻Code:
https://github.com/candraKriswinarto/...

🔗Source:
[api] https://jsonplaceholder.typicode.com/
[react-intersection-observer] https://www.npmjs.com/package/react-i...
[react-query] https://tanstack.com/query/latest/doc...
[vite] https://vitejs.dev/guide/

👋🏻
https://mynameischand.tech

👉Timestamps:
0:00 - Intro
01:08 - Generate React.js with vite
02:49 - Fetch data & styling
11:07 - Install Tanstack React Query
12:40 - How to use useInfiniteQuery
28:38 - How to use react-intersection-observer

🌎 Find Me Here:
Instagram :   / candra_kriswinarto  
GitHub: https://github.com/candraKriswinarto/
Linkedin:   / candra-kriswinarto  

#programming


En esta página del sitio puede ver el video en línea How to Create Infinite Scroll in React | TanStack React Query de Duración hora minuto segunda en buena calidad , que subió el usuario Cand Dev 23 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 27,148 veces y le gustó 585 a los espectadores. Disfruta viendo!