Dan Abramov
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/reference-react-component.md
|
|
@ -152,7 +152,7 @@ The constructor is the right place to initialize state. To do so, just assign an |
|
|
|
|
|
|
|
>Note: |
|
|
|
> |
|
|
|
>**Avoid copying props into state! This is a common beginner mistake:** |
|
|
|
>**Avoid copying props into state! This is a common mistake:** |
|
|
|
> |
|
|
|
>```js |
|
|
|
>constructor(props) { |
|
|
|