Commit Graph

4 Commits

Author SHA1 Message Date
Paul O’Shannessy
4e5f5df4f6 Remove @jsx from examples 2014-10-23 20:51:11 -07:00
Paul O’Shannessy
f53854bd93 React.renderComponent -> React.render
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
remixz
3f31ec463f Change harmony option to "harmony=true" 2014-05-14 15:50:35 -07:00
remixz
65c258a7b7 Add harmony transform support in browser (Fixes GH-1420)
I implemented this by checking for `type="text/jsx;harmony"`, since this
has a bit of a cleaner implementation rather than parsing a JSON object
out of a data attribute. If in the future there are other options to
pass, it would make sense to move to a system like that.

Along with adding support, there is also a new example added that's
the basic-jsx example with Harmony syntax.
2014-05-13 22:07:02 -07:00