add react/jsx to readme
This commit is contained in:
parent
7f3959444c
commit
aaab2db0ec
@ -49,6 +49,7 @@ It's as easy as:
|
|||||||
- [Caveats](#caveats)
|
- [Caveats](#caveats)
|
||||||
- [Polyfill](#polyfill)
|
- [Polyfill](#polyfill)
|
||||||
- [Optional runtime](#optional-runtime)
|
- [Optional runtime](#optional-runtime)
|
||||||
|
- [React/JSX](#reactjsx)
|
||||||
- [Differences](#differences)
|
- [Differences](#differences)
|
||||||
|
|
||||||
## [Features](FEATURES.md)
|
## [Features](FEATURES.md)
|
||||||
@ -401,6 +402,14 @@ require("6to5").runtime("myCustomNamespace");
|
|||||||
See [Options - runtime](#options) for documentation on changing the reference in
|
See [Options - runtime](#options) for documentation on changing the reference in
|
||||||
generated code.
|
generated code.
|
||||||
|
|
||||||
|
## React/JSX
|
||||||
|
|
||||||
|
6to5 has built-in support for React v0.12. Tags are automatically transformed to
|
||||||
|
their equivalent `React.createElement(...)` and `displayName` is automatically
|
||||||
|
inferred and added to all `React.createClass` calls.
|
||||||
|
|
||||||
|
To disable this behaviour add `react` to your blacklist.
|
||||||
|
|
||||||
## Differences
|
## Differences
|
||||||
|
|
||||||
### Philosophy
|
### Philosophy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user