Building React Infinite Scroll with useInfiniteQuery

preview_player
Показать описание
Learn how to implement React infinite scroll fast with useInfiniteQuery from React Query library. It is not an easy task to build infinite scroll from scratch this is why we will use 2 libraries which simplify implementation.

TIMESTAMPS
0:00 Introduction
1:19 Installation and configuration
2:18 Fetching data
4:19 Adding useInfiniteQuery
6:52 Preparing articles
8:06 Adding react infinite scroll

MOST POPULAR COURSES

FOLLOW ME

REFERENCES
Рекомендации по теме
Комментарии
Автор

hi, I hope that you are fine. how we can do a swipeable angular component with handle the touch event for the phone and all those stuff... the hammerJs is very old right new...

ahmadbenchakhtir
Автор

Thanks, man. A very useful video. By the way, where are you from? :)

dimitridoroshko
Автор

What about an API that doesn't provide an "articleCount" like that api? How can I handle this, because I'm trying to use this method with the fakeStoreApi but it doesn't exactly provide it.

fnandesrafael
Автор

Show implementation on Local json file

AX
Автор

You're not building Infinite Scroll. You are just installing a Infinite Scroll library and using it. The title of the video should be called "Using InfiniteScroll library with useInfiniteQuery"

domink
Автор

you are suggesting using a 3rd-party code with the last update 2y ago? why?

landsman
Автор

I dunno why bro grinds his teeth while talking

farjanahaque