Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69ea71f

Browse files
committed
Fix punctuation
1 parenta4e6ce9 commit69ea71f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Ch04/props-state-introduction.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ReactDOM.render(<HelloMessage name="Mark" />, document.getElementById('app'));
6262
使用 Functional Component 寫法:
6363

6464
```javascript
65-
// Functional Component 可以視為 f(d) => UI,根據傳進去的 props 繪出對應的 UI。注意這邊 props 是傳入函式的參數因此取用 props 不用加 this
65+
// Functional Component 可以視為 f(d) => UI,根據傳進去的 props 繪出對應的 UI。注意這邊 props 是傳入函式的參數因此取用 props 不用加 this
6666
constHelloMessage= (props)=> (
6767
<div>Hello {props.name}</div>
6868
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp