SHARE
TWEET

Untitled

a guest Nov 19th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const commentData = {
  2.   title: "Fake article title.",
  3.   author: "grzm",
  4.   comments: [
  5.     {
  6.       id: 1,
  7.       text: "Example comment here.",
  8.       author: "user2",
  9.       children: [
  10.         {
  11.           id: 2,
  12.           text: "Another example comment text.",
  13.           author: "user3",
  14.           children: [
  15.             {
  16.               id: 3,
  17.               text: "Another example comment text.",
  18.               author: "user4",
  19.               children: []
  20.             }
  21.           ]
  22.         }
  23.       ]
  24.     },
  25.     {
  26.       id: 4,
  27.       text: "Example comment here 2.",
  28.       author: "user5",
  29.       children: []
  30.     }
  31.   ]
  32. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top