Tag Cabinet
#state
1 note filed under this label.
Filed Note
T1React Hook 学习 1:useState 的状态模型
useState 是 React Hook 学习的起点,但它最容易被误解的地方,不是 API 本身,而是“状态到底是什么”。 很多初学者会把它理解成“一个可以变的变量”,但在真实开发里,更准确的理解应该是:useState...
A quiet archive for study notes, linked recall, and steady retrieval.
Tag Cabinet
1 note filed under this label.
Filed Note
T1useState 是 React Hook 学习的起点,但它最容易被误解的地方,不是 API 本身,而是“状态到底是什么”。 很多初学者会把它理解成“一个可以变的变量”,但在真实开发里,更准确的理解应该是:useState...