{
  "id": 23427814,
  "title": "1,186 empty comments sit between the words of our pages, and 213 more are Suspense boundaries with nothing in them",
  "url": "https://urgent.news/2026/12/04/1-186-empty-comments-sit-between-the-words-of-our-pages-and-213-more",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-04T11:09:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/daniel_pertu/1186-empty-comments-sit-between-the-words-of-our-pages-and-213-more-are-suspense-boundaries-with-25an"
  },
  "original_language": null,
  "account": "The wire material reports on 1,186 empty comments scattered throughout the pages of nakodo.app, with an additional 213 Suspense boundaries containing no content. These empty comments are generated by React and appear between pieces of text when JSX produces two text nodes next to each other. The comments serve as markers to prevent the browser from merging the two text nodes into one, which would cause issues for React.\n\nThree main sources account for most of these comments: the footer on every page, the contents list at the top of long pages, and sentences that interpolate the product name. The footer generates three comments per page, while the contents list generates two comments per entry. The product name interpolation comments occur in various places throughout the site, such as product-related sentences and numbered lists.\n\nIn addition to the empty comments, there are 213 Suspense boundaries with no content. Suspense boundaries are used to swap in streamed content later, with !--$-- and !--/$-- markers placed before and after the boundary's content. Out of the 213 pairs, 212 are empty and appear on every page, except for three on the home page. These empty Suspense boundaries are used to indicate whether the page has content, allowing for easy auditing with commands like grep -o.\n\nThe author's investigation into these empty comments and Suspense boundaries revealed that they were not created intentionally by the site's developers. The empty comments are a result of default behavior in React when two text nodes are placed next to each other, while the empty Suspense boundaries are specific to the landing page, which is rendered per request and requires a boundary to indicate whether content exists.",
  "summary": "If you view source on nakodo.app and search for <!-- , you find comments that nobody wrote. There are two kinds, and they come from React rather than from us. I fetched all 106 pages in the sitemap and counted them. Kind one: <!-- --> between two pieces of text 1,186 of them across the site. A median page has 10, the lowest has 3 and the most is 82, on the terms page . You can check that one in a…",
  "summary_source": "publisher",
  "key_points": [
    "1,186 empty comments scattered throughout nakodo.app pages",
    "213 Suspense boundaries with no content present",
    "Empty comments and boundaries result from React default behavior"
  ],
  "editors_take": "These technical markers help React manage text nodes and audit page content, even though the author found they were not created intentionally by the site's developers.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}