Skip to content

Commit

Permalink
fix: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Nov 22, 2024
1 parent 8335925 commit bf480eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/static/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@
"docs": "Prevent comment strings being accidentally passed as text in JSX.\n\n### Invalid:\n\n```tsx\nconst foo = <div>// comment</div>;\nconst foo = <div>/* comment */</div>;\n```\n\n### Valid:\n\n```tsx\nconst foo = <div>{/* comment */}</div>;\n```\n",
"tags": [
"react",
"jsx"
"jsx",
"fresh"
]
},
{
Expand Down

0 comments on commit bf480eb

Please sign in to comment.