Coding a Custom usePaginationFetch React Hook Tutorial

preview_player
Показать описание
Giving a short code walkthrough of how I created a custom hook in react to help with doing pagination requests. Custom hooks in react can help dry up your code, especially as your application grows and you want to repeat similar logic, such as fetching data using the browser's fetch method, on multiple components. This tutorial shows you have to take it a step further by adding pagination.

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

How to combine to debounce to limit only 1 call per 1000ms

Ls-xbbn