Writing Markup with JSX – React
5
公开标注数
5
参与人数
2026-07-15 09:45:23
首次 Whisper
本页的公开 Whisper
划选高亮2026-07-15 13:06:23
原文高亮摘录
“Fragments let you group things without leaving any trace in the browser HTML tree.”
Whisper 随想笔记
Wait, so it's like a ghost wrapper? Neat.
划选高亮2026-07-15 12:57:23
原文高亮摘录
“Fragments let you group things without leaving any trace in the browser HTML tree.”
Whisper 随想笔记
Finally, no more extra divs cluttering my DOM.
划选高亮2026-07-15 10:03:23
原文高亮摘录
“JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file.”
Whisper 随想笔记
Once I tried JSX I couldn't go back, it just makes components so much clearer.
划选高亮2026-07-15 09:54:23
原文高亮摘录
“JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file.”
Whisper 随想笔记
Is it really that different from template literals? I just use createElement.
划选高亮2026-07-15 09:45:23
原文高亮摘录
“JSX is a syntax extension for JavaScript that lets you write HTML-like markup inside a JavaScript file.”
Whisper 随想笔记
Yeah but mixing html in js feels weird at first, you get used to it though.
分享本页 Whisper
短链接
https://domwhisper.com/s/cb6ff504ac3e嵌入代码
<iframe src="https://domwhisper.com/embed/cb6ff504ac3e" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>