锤子前端
08:56 · 2025年4月3日 · 周四
#React #文章 hooks可以作为一种无头组件的形式存在。
https://www.bbss.dev/posts/sparkling-hooks/
Building Better Software Slower
Components Are Just Sparkling Hooks
Here’s a question you might encounter while interviewing for React developer roles:
“What is the difference between a component and a hook?”
The answer that the interviewer is likely looking for is along the lines of “A component is a building block for the…
Home
Tags
About
Powered by
BroadcastChannel
&
Sepia