|
|
@ -106,7 +106,7 @@ See [Multiple Components](/react/docs/multiple-components.html) to learn more ab |
|
|
|
|
|
|
|
> Note: |
|
|
|
> |
|
|
|
> Since JSX is JavaScript, identifiers such as `class` and `for` are not allowed |
|
|
|
> Since JSX is JavaScript, identifiers such as `class` and `for` are discouraged |
|
|
|
> as XML attribute names. Instead, React DOM components expect attributes like |
|
|
|
> `className` and `htmlFor`, respectively. |
|
|
|
|
|
|
|