From aaab2db0ec68abbcd0213f08d4e4dedc869f63a3 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 11 Nov 2014 20:06:02 +1100 Subject: [PATCH] add react/jsx to readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f63a69fd25..8ba1f49e01 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ It's as easy as: - [Caveats](#caveats) - [Polyfill](#polyfill) - [Optional runtime](#optional-runtime) +- [React/JSX](#reactjsx) - [Differences](#differences) ## [Features](FEATURES.md) @@ -401,6 +402,14 @@ require("6to5").runtime("myCustomNamespace"); See [Options - runtime](#options) for documentation on changing the reference in 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 ### Philosophy