This pull request introduces the feature of infinite scrolling for networks series: #20.
Change summary
Added getTmdbNetworkSeriesQuery function totmdbApi.ts file, that does the same job as getTmdbNetworkSeries but allows a query parameter and return the full response from the TMDB since we need more information (total_pages).
Added InfiniteScroll component, the implementation comes from InfiniteScroll lib.
Refactored the network page to use the InfiniteScroll component and the getTmdbNetworkSeriesQuery function.
This pull request introduces the feature of infinite scrolling for networks series: #20.
Change summary
getTmdbNetworkSeriesQuery
function totmdbApi.ts
file, that does the same job asgetTmdbNetworkSeries
but allows a query parameter and return the full response from the TMDB since we need more information (total_pages).InfiniteScroll
component, the implementation comes from InfiniteScroll lib.InfiniteScroll
component and thegetTmdbNetworkSeriesQuery
function.