Writing Markup with JSX – React
5
Public whispers
5
Contributors
2026-07-15 09:45:23
First whispered
Public whispers on this page
Text Highlight2026-07-15 13:06:23
Original Highlight Excerpt
"Fragments let you group things without leaving any trace in the browser HTML tree."
Whisper Note
Wait, so it's like a ghost wrapper? Neat.
Text Highlight2026-07-15 12:57:23
Original Highlight Excerpt
"Fragments let you group things without leaving any trace in the browser HTML tree."
Whisper Note
Finally, no more extra divs cluttering my DOM.
Text Highlight2026-07-15 10:03:23
Original Highlight Excerpt
"JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file."
Whisper Note
Once I tried JSX I couldn't go back, it just makes components so much clearer.
Text Highlight2026-07-15 09:54:23
Original Highlight Excerpt
"JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file."
Whisper Note
Is it really that different from template literals? I just use createElement.
Text Highlight2026-07-15 09:45:23
Original Highlight Excerpt
"JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file."
Whisper Note
Yeah but mixing html in js feels weird at first, you get used to it though.
Share this page's whispers
Short link
https://domwhisper.com/s/cb6ff504ac3eEmbed snippet
<iframe src="https://domwhisper.com/embed/cb6ff504ac3e" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>See what people are discussing on react.dev
Install DomWhisper to view live whispers as you browse, and join the discussion.
Get the extension