Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: comments state
{
"comments": {
"byVideo": {
"videoId1": {
"nextPageToken": "abcdefg",
"ids": ["commentId1", "commentId2", "commentId3"]
},
"videoId2": {
"nextPageToken": "some-cryptic-token",
"ids": ["commentId4", "commentId20"]
}
},
"byId": {
"commentId1": {
},
"commentId2": {
}
}
}
}
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.