Change “not allowed” back to “discouraged” since you technically *can* use props called `class` or `for`…
Daniel Lo Nigro committed
Jan 4, 2014 at 23:33 UTC
ae9188db502d5a053497cbeccdff986cefab7b69
1 file changed
+1
-1
docs/docs/02.1-jsx-in-depth.md
+1
-1
@@ -106,7 +106,7 @@ See [Multiple Components](/react/docs/multiple-components.html) to learn more ab
106
107
> Note:
108
>
109
-> Since JSX is JavaScript, identifiers such as `class` and `for` are not allowed
109
+> Since JSX is JavaScript, identifiers such as `class` and `for` are discouraged
110
> as XML attribute names. Instead, React DOM components expect attributes like
111
> `className` and `htmlFor`, respectively.
112