Skip to content

Instantly share code, notes, and snippets.

@productioncoder productioncoder/videos.js
Last active Oct 28, 2018

Embed
What would you like to do?
Youtube video categories selector
export const getVideoCategoryIds = createSelector(
state => state.videos.categories,
(categories) => {
return Object.keys(categories || {});
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.