ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to Code an Infinite Scroller with React Hooks

suboptimal engineer

suboptimal software engineer

suboptimal

react.js

react js

react hooks

react infinite scroll

infinite scroll react

infinite scroll react hooks

react hooks infinite scroll

react infinite scroll api call

react infinite scroll tutorial

react coding tutorial

infinite scroll react js

react hooks tutorial

how to code infinite scrolling

react usestate

react useeffect

react hooks explained

react js infinite scroll

react js hooks

react tutorial

Автор: Suboptimal Engineer

Загружено: 2021-10-09

Просмотров: 27312

Описание: In this coding tutorial, we go over how to build an infinite scroller with React JS. Learning how to build infinite scrolling is important because it is a popular coding interview question for frontend engineers and it is also used by a lot of tech companies like Facebook and Twitter. We will start off this tutorial by setting up Next.js with Tailwind CSS. Next, we will query an API with axios and load the data into a React useState hook. Finally, we will add a window listener that continuously loads data when the user scrolls to the bottom of the page.

📖 Code - https://github.com/SuboptimalEng/codi...

🎥 YouTube -    / suboptimaleng  
💻 GitHub - https://github.com/SuboptimalEng
🐦 Twitter -   / suboptimaleng  
🧵 Threads - https://www.threads.net/@suboptimaleng
📸 Instagram -   / suboptimaleng  

== [ Resources ] ==
Pokemon API: https://pokeapi.co
Next.js Setup Guide: https://nextjs.org/docs/getting-started

== [ Timestamps ] ==
00:00 What is Infinite Scroll?
00:49 Next.js Setup Guide
02:19 Request API Data with Axios
04:05 Store Data in useState Hook
06:46 Update UI with Tailwind CSS
07:55 Refactor Code with useEffect
09:05 Add Window Event Listener
10:08 Determine Page Scroll Offset
13:22 Load API Data on Scroll
15:14 Add Infinite Scroll

== [ Tags ] ==
#suboptimal #javascript #reactjs

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to Code an Infinite Scroller with React Hooks

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]