Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: VIDEO_DETAILS action
export const VIDEO_DETAILS = createRequestTypes('VIDEO_DETAILS');
export const videoDetails = {
request: () => {
throw Error('not implemented');
},
success: (response) => createAction(VIDEO_DETAILS[SUCCESS], {response}),
failure: (response) => createAction(VIDEO_DETAILS[FAILURE], {response}),
};
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.