Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Youtube in React: selector for next page token for most popular videos
const getMostPopular = (state) => state.videos.mostPopular;
export const getMostPopularVideosNextPageToken = createSelector(
(mostPopular) => {
return mostPopular.nextPageToken;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment