mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
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.
React Examples
Here are some small React demos. Some use JSX and some include third-party library integration.
For more fully-featured examples, check out React TodoMVC and React + Backbone TodoMVC.