Describing the UI – React
5
公开标注数
5
参与人数
2026-07-27 09:17:48
首次 Whisper
本页的公开 Whisper
划选高亮2026-07-27 12:38:48
原文高亮摘录
“By strictly only writing your components as pure functions, you can avoid an entire class of baffling bugs”
Whisper 随想笔记
I've been burned by impure components before, this advice is gold.
划选高亮2026-07-27 12:29:48
原文高亮摘录
“By strictly only writing your components as pure functions, you can avoid an entire class of baffling bugs”
Whisper 随想笔记
Yeah but pure functions are hard when you need random values or time.
划选高亮2026-07-27 09:35:48
原文高亮摘录
“UI is built from small units like buttons, text, and images.”
Whisper 随想笔记
I always forget that even a whole page is just a bunch of tiny pieces.
划选高亮2026-07-27 09:26:48
原文高亮摘录
“UI is built from small units like buttons, text, and images.”
Whisper 随想笔记
Sounds obvious, but it's the foundation of everything in React.
划选高亮2026-07-27 09:17:48
原文高亮摘录
“UI is built from small units like buttons, text, and images.”
Whisper 随想笔记
True, but the real magic is how you combine them into components.
分享本页 Whisper
短链接
https://domwhisper.com/s/7122f1233197嵌入代码
<iframe src="https://domwhisper.com/embed/7122f1233197" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>