Skip to content

Commit 153cf48

Browse files
committed
fix: align terminology with Glossary
1 parent f51380b commit 153cf48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/learn/thinking-in-react.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ td {
220220

221221
其中哪些資料應該放進 state 呢?試著辨識出其中不是 state 的項目:
222222

223-
* 它會隨時間變化**保持不變**嗎? 會的話,那它就不是 state。
224-
* 它是透過 props **從 parent 傳進來的**嗎? 是的話,那它就不是 state。
225-
* 你能根據 component 中現有的 state 或 props 計算出它嗎? 可以的話,那它*絕對*不是 state!
223+
* 它會隨時間變化**保持不變**嗎?會的話,那它就不是 state。
224+
* 它是透過 props **從 parent 傳進來的**嗎?是的話,那它就不是 state。
225+
* 你能根據 component 中現有的 state 或 props 計算出它嗎?可以的話,那它*絕對*不是 state!
226226

227227
剩下的那些資料,很可能就是要放進 state 的了。
228228

0 commit comments

Comments
 (0)