Created
June 19, 2017 09:31
-
-
Save antsmartian/7f1c7a8af79f9f40691a2a78e571f610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nested = [ | |
{ | |
"id": 484856, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-484856", | |
"created_at": "2017-06-18T16:49:28.842-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Do these icons work with Bootstrap 4?", | |
"body_html": "Do these icons work with Bootstrap 4?", | |
"body_strict_html": "Do these icons work with Bootstrap 4?", | |
"is_sticky": false, | |
"user": { | |
"id": 534987, | |
"name": "Cristian", | |
"username": "icyflame", | |
"twitter_username": null, | |
"headline": "", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 481687, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-481687", | |
"created_at": "2017-06-12T09:56:18.155-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Click and download individual .svg files idea is brilliant!", | |
"body_html": "Click and download individual .svg files idea is brilliant!", | |
"body_strict_html": "Click and download individual .svg files idea is brilliant!", | |
"is_sticky": false, | |
"user": { | |
"id": 172995, | |
"name": "Nick", | |
"username": "hurleyharper", | |
"twitter_username": "HurleyHarper", | |
"headline": "Product Design", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 483720, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-483720", | |
"created_at": "2017-06-15T05:30:05.145-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Great job! Very well designed! Bravo!", | |
"body_html": "Great job! Very well designed! Bravo!", | |
"body_strict_html": "Great job! Very well designed! Bravo!", | |
"is_sticky": false, | |
"user": { | |
"id": 590338, | |
"name": "DarekDoesStuff", | |
"username": "darekdoesstuff", | |
"twitter_username": "DarekDoesStuff", | |
"headline": "Music composer, @RelaxingSndApp creator.", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478256, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478256", | |
"created_at": "2017-06-05T04:35:34.722-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 27, | |
"body": "Never say \"no\" to icon packs!", | |
"body_html": "Never say \"no\" to icon packs!", | |
"body_strict_html": "Never say \"no\" to icon packs!", | |
"is_sticky": false, | |
"user": { | |
"id": 196827, | |
"name": "Yigit Pinarbasi", | |
"username": "yigitpinarbasi", | |
"twitter_username": "yigitpinarbasi", | |
"headline": "Product Designer, Design Lead @epcsht", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null, | |
"children": [ | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478399, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478399", | |
"created_at": "2017-06-05T09:44:24.853-07:00", | |
"parent_comment_id": 478256, | |
"state": "visible", | |
"votes_count": 34, | |
"body": "@yigitpinarbasi especially ones that dont require your email", | |
"body_html": "<a href=\"https://www.producthunt.com/@yigitpinarbasi\" target=\"_blank\" rel=\"nofollow\">@yigitpinarbasi</a> especially ones that dont require your email", | |
"body_strict_html": "@yigitpinarbasi especially ones that dont require your email", | |
"is_sticky": false, | |
"user": { | |
"id": 60996, | |
"name": "Noah Kim", | |
"username": "wuss", | |
"twitter_username": "wuss", | |
"headline": "Startup in Progress ▓▓▓▓░░░░░░░░ 30%", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
} | |
] | |
}, | |
{ | |
"id": 478412, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478412", | |
"created_at": "2017-06-05T10:02:23.088-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 13, | |
"body": "Thanks for posting this, @kevinfischer! \n\nI encourage anyone that's interested to get involved in the Feather community on GitHub. If you don't see the icon you're looking for, feel free to request an icon with a GitHub issue. In the future, I'll be accepting icon contributions as well.\n\nGet involved: https://github.com/colebemis/feather\n\nEnjoy :)", | |
"body_html": "Thanks for posting this, <a href=\"https://www.producthunt.com/@kevinfischer\" target=\"_blank\" rel=\"nofollow\">@kevinfischer</a>! \n\nI encourage anyone that's interested to get involved in the Feather community on GitHub. If you don't see the icon you're looking for, feel free to request an icon with a GitHub issue. In the future, I'll be accepting icon contributions as well.\n\nGet involved: <a href=\"https://github.com/colebemis/feather\" target=\"_blank\" rel=\"nofollow\">https://github.com/colebemis/fea...</a>\n\nEnjoy :)", | |
"body_strict_html": "Thanks for posting this, @kevinfischer! \n\nI encourage anyone that's interested to get involved in the Feather community on GitHub. If you don't see the icon you're looking for, feel free to request an icon with a GitHub issue. In the future, I'll be accepting icon contributions as well.\n\nGet involved: <a href=\"https://github.com/colebemis/feather\" target=\"_blank\" rel=\"nofollow\">https://github.com/colebemis/fea...</a>\n\nEnjoy :)", | |
"is_sticky": false, | |
"user": { | |
"id": 114426, | |
"name": "Cole Bemis", | |
"username": "colebemis", | |
"twitter_username": "colebemis", | |
"headline": "Frontend developer and designer", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null, | |
"children": [ | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478540, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478540", | |
"created_at": "2017-06-05T13:35:12.347-07:00", | |
"parent_comment_id": 478412, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "@colebemis Thanks for these Cole, they look sweet!", | |
"body_html": "<a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> Thanks for these Cole, they look sweet!", | |
"body_strict_html": "@colebemis Thanks for these Cole, they look sweet!", | |
"is_sticky": false, | |
"user": { | |
"id": 114714, | |
"name": "Fred Rivett", | |
"username": "fredrivett", | |
"twitter_username": "FredRivett", | |
"headline": "One half of @wecontrast", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
} | |
] | |
}, | |
{ | |
"id": 481759, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-481759", | |
"created_at": "2017-06-12T11:43:59.645-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "This is brilliant @kevinfischer and @ColeBemis. I love the community involvement with the platform and the focus on SVG icons.", | |
"body_html": "This is brilliant <a href=\"https://www.producthunt.com/@kevinfischer\" target=\"_blank\" rel=\"nofollow\">@kevinfischer</a> and <a href=\"https://www.producthunt.com/@ColeBemis\" target=\"_blank\" rel=\"nofollow\">@ColeBemis</a>. I love the community involvement with the platform and the focus on SVG icons.", | |
"body_strict_html": "This is brilliant @kevinfischer and @ColeBemis. I love the community involvement with the platform and the focus on SVG icons.", | |
"is_sticky": false, | |
"user": { | |
"id": 871101, | |
"name": "James Kosur", | |
"username": "james_kosur", | |
"twitter_username": null, | |
"headline": "Qikpix", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 481697, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-481697", | |
"created_at": "2017-06-12T10:10:38.715-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Love its simplicity!", | |
"body_html": "Love its simplicity!", | |
"body_strict_html": "Love its simplicity!", | |
"is_sticky": false, | |
"user": { | |
"id": 25570, | |
"name": "Maksim Razbo", | |
"username": "corelogiciels", | |
"twitter_username": "Corelogiciels", | |
"headline": "Designer", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478235, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478235", | |
"created_at": "2017-06-05T03:19:00.647-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 4, | |
"body": "These are very well designed icons\n\nVery Dope 🚬🚬", | |
"body_html": "These are very well designed icons\n\nVery Dope 🚬🚬", | |
"body_strict_html": "These are very well designed icons\n\nVery Dope 🚬🚬", | |
"is_sticky": false, | |
"user": { | |
"id": 232526, | |
"name": "Deandre Durr☀️", | |
"username": "dredurr", | |
"twitter_username": "DreDurr", | |
"headline": "Growth Hacker", | |
"trashed": false, | |
"post_upvote_streak": 10 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 480776, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-480776", | |
"created_at": "2017-06-09T04:52:19.408-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "F*ckin Awesome!", | |
"body_html": "F*ckin Awesome!", | |
"body_strict_html": "F*ckin Awesome!", | |
"is_sticky": false, | |
"user": { | |
"id": 412563, | |
"name": "Marcelo Torres", | |
"username": "torresmarcelo21", | |
"twitter_username": "TorresMarcelo21", | |
"headline": null, | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 479532, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-479532", | |
"created_at": "2017-06-07T03:06:10.518-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Awesome! A lot of icons I needed before!", | |
"body_html": "Awesome! A lot of icons I needed before!", | |
"body_strict_html": "Awesome! A lot of icons I needed before!", | |
"is_sticky": false, | |
"user": { | |
"id": 876887, | |
"name": "T0ha", | |
"username": "t0ha666", | |
"twitter_username": "T0ha666", | |
"headline": "Sole Founder /Developer", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478249, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478249", | |
"created_at": "2017-06-05T03:58:34.684-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 3, | |
"body": "These look great! Also the plain white landing page is really effective, that looks great too.", | |
"body_html": "These look great! Also the plain white landing page is really effective, that looks great too.", | |
"body_strict_html": "These look great! Also the plain white landing page is really effective, that looks great too.", | |
"is_sticky": false, | |
"user": { | |
"id": 21280, | |
"name": "Jordan Nesbitt", | |
"username": "highaced", | |
"twitter_username": "highaced", | |
"headline": "Wearer of many hats @ NewsAPI.org", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478721, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478721", | |
"created_at": "2017-06-05T23:49:19.122-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Wow those are stunning!", | |
"body_html": "Wow those are stunning!", | |
"body_strict_html": "Wow those are stunning!", | |
"is_sticky": false, | |
"user": { | |
"id": 294274, | |
"name": "Leo Bassam", | |
"username": "loaibassam", | |
"twitter_username": "loaibassam", | |
"headline": "Founder, CEO at Plutio.com", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478715, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478715", | |
"created_at": "2017-06-05T23:34:50.267-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Very well designed, Fantastic :)", | |
"body_html": "Very well designed, Fantastic :)", | |
"body_strict_html": "Very well designed, Fantastic :)", | |
"is_sticky": false, | |
"user": { | |
"id": 636706, | |
"name": "Elayan Hamamrah", | |
"username": "ehamamrah", | |
"twitter_username": "ehamamrah", | |
"headline": "Aspiring Web Developer", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478708, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478708", | |
"created_at": "2017-06-05T23:04:22.687-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "nice", | |
"body_html": "nice", | |
"body_strict_html": "nice", | |
"is_sticky": false, | |
"user": { | |
"id": 878809, | |
"name": "Marat Zakaryan", | |
"username": "marat_zakaryan", | |
"twitter_username": "marat_zakaryan", | |
"headline": "Marketing Specialist", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478706, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478706", | |
"created_at": "2017-06-05T22:46:23.368-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "Great icons! Loved the idea.", | |
"body_html": "Great icons! Loved the idea.", | |
"body_strict_html": "Great icons! Loved the idea.", | |
"is_sticky": false, | |
"user": { | |
"id": 681235, | |
"name": "Mahadev Majaladar", | |
"username": "realmahadev", | |
"twitter_username": "RealMahadev", | |
"headline": "Blogging @ https://dmarketer.com", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478704, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478704", | |
"created_at": "2017-06-05T22:39:58.178-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 0, | |
"body": "awesome @colebemis!", | |
"body_html": "awesome <a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a>!", | |
"body_strict_html": "awesome @colebemis!", | |
"is_sticky": false, | |
"user": { | |
"id": 893124, | |
"name": "Gaurav Mathur", | |
"username": "gmathur", | |
"twitter_username": "_gmathur", | |
"headline": "CEO, Astro - Asst for health & lifestyle", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478691, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478691", | |
"created_at": "2017-06-05T22:00:58.290-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Bring on this!! thanks for making it @colebemis and hunting it @kevinfischer", | |
"body_html": "Bring on this!! thanks for making it <a href=\"https://www.producthunt.com/@colebemis\" target=\"_blank\" rel=\"nofollow\">@colebemis</a> and hunting it <a href=\"https://www.producthunt.com/@kevinfischer\" target=\"_blank\" rel=\"nofollow\">@kevinfischer</a>", | |
"body_strict_html": "Bring on this!! thanks for making it @colebemis and hunting it @kevinfischer", | |
"is_sticky": false, | |
"user": { | |
"id": 590545, | |
"name": "Amool Nuthalapati", | |
"username": "amlyndn", | |
"twitter_username": "amlyndn", | |
"headline": "Making living safe and easy...always", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478581, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478581", | |
"created_at": "2017-06-05T14:25:49.549-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Good idea!", | |
"body_html": "Good idea!", | |
"body_strict_html": "Good idea!", | |
"is_sticky": false, | |
"user": { | |
"id": 892328, | |
"name": "Josh Khoury", | |
"username": "josh_khoury", | |
"twitter_username": "josh_khoury", | |
"headline": "Sales, Freelance", | |
"trashed": false, | |
"post_upvote_streak": 32 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478592, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478592", | |
"created_at": "2017-06-05T14:43:30.316-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Great!", | |
"body_html": "Great!", | |
"body_strict_html": "Great!", | |
"is_sticky": false, | |
"user": { | |
"id": 893164, | |
"name": "Whitney Hummel", | |
"username": "whitney_hummel", | |
"twitter_username": "whitney_hummel", | |
"headline": "Founder of Hummel LTD", | |
"trashed": false, | |
"post_upvote_streak": 31 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478598, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478598", | |
"created_at": "2017-06-05T14:50:57.580-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Can never have enough nice icons! Thank you!", | |
"body_html": "Can never have enough nice icons! Thank you!", | |
"body_strict_html": "Can never have enough nice icons! Thank you!", | |
"is_sticky": false, | |
"user": { | |
"id": 359443, | |
"name": "Frank te Pas", | |
"username": "franktepas", | |
"twitter_username": "franktepas", | |
"headline": "CEO, OutLoud", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478612, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478612", | |
"created_at": "2017-06-05T15:44:21.204-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Just installed on my site Waatcher and it looks awesome. Works great with Bootstrap and easily replace Glyphicons without any effort. Awesome work! I have been looking for icons as clean as this.", | |
"body_html": "Just installed on my site Waatcher and it looks awesome. Works great with Bootstrap and easily replace Glyphicons without any effort. Awesome work! I have been looking for icons as clean as this.", | |
"body_strict_html": "Just installed on my site Waatcher and it looks awesome. Works great with Bootstrap and easily replace Glyphicons without any effort. Awesome work! I have been looking for icons as clean as this.", | |
"is_sticky": false, | |
"user": { | |
"id": 111728, | |
"name": "Nicolas Nguyen", | |
"username": "nickhung", | |
"twitter_username": "nickhung", | |
"headline": "Founder | Waatcher", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478507, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478507", | |
"created_at": "2017-06-05T12:50:34.226-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 2, | |
"body": "Great icons, can't say no to icon packs!", | |
"body_html": "Great icons, can't say no to icon packs!", | |
"body_strict_html": "Great icons, can't say no to icon packs!", | |
"is_sticky": false, | |
"user": { | |
"id": 676127, | |
"name": "Parthiv Patel", | |
"username": "parthiv_patel", | |
"twitter_username": null, | |
"headline": "Here to see cool stuff.", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478461, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478461", | |
"created_at": "2017-06-05T11:44:15.785-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Great icons, some of the best I have used.", | |
"body_html": "Great icons, some of the best I have used.", | |
"body_strict_html": "Great icons, some of the best I have used.", | |
"is_sticky": false, | |
"user": { | |
"id": 49033, | |
"name": "Daniel Klopper", | |
"username": "betraydan", | |
"twitter_username": "Betraydan", | |
"headline": "Designer", | |
"trashed": false, | |
"post_upvote_streak": 0 | |
}, | |
"reference_link": null | |
}, | |
{ | |
"id": 478345, | |
"subject": { | |
"id": 100183, | |
"name": "Feather", | |
"type": "Post" | |
}, | |
"url": "https://www.producthunt.com/posts/feather-5#comment-478345", | |
"created_at": "2017-06-05T08:20:31.116-07:00", | |
"parent_comment_id": null, | |
"state": "visible", | |
"votes_count": 1, | |
"body": "Looks great - I will give these a go for my next presentation!", | |
"body_html": "Looks great - I will give these a go for my next presentation!", | |
"body_strict_html": "Looks great - I will give these a go for my next presentation!", | |
"is_sticky": false, | |
"user": { | |
"id": 770067, | |
"name": "Darren Liviniuk", | |
"username": "dliviniuk", | |
"twitter_username": null, | |
"headline": "Building the future of work", | |
"trashed": false, | |
"post_upvote_streak": 1 | |
}, | |
"reference_link": null | |
} | |
] | |
var Comment = React.createClass({ | |
render: function(){ | |
var comment = this.props.comment; | |
console.log("Single comment is") | |
console.log(comment) | |
return <div> | |
<p>{comment.user.name} says {comment.body}</p> | |
{comment.children != undefined && <Comments comments={comment.children} />} | |
</div> | |
} | |
}); | |
var Comments = React.createClass({ | |
render: function(){ | |
console.log(this.props.comments) | |
return ( | |
<div> | |
{this.props.comments.map((comment) => { | |
return <Comment key={comment.id} comment={comment} /> | |
})} | |
</div> | |
) | |
} | |
}); | |
ReactDOM.render( | |
<Comments comments={nested}/>, | |
document.getElementById('container') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment