Browse Source

more jsx handholding

main
petehunt 12 years ago
parent
commit
a1e66ee17d
  1. 4
      docs/refactor/02-displaying-data.md

4
docs/refactor/02-displaying-data.md

@ -69,4 +69,6 @@ We strongly believe that components are the right way to separate concerns rathe
We've found that the best solution for this problem is to generate markup directly from the JavaScript code such that you can use all of the expressive power of a real programming language to build UIs. In order to make this easier, we've added a *very* simple, **optional** HTML-like syntax for the function calls that generate markup called JSX.
JSX is very small; the example above uses every feature of JSX. To learn more about it, see [JSX in depth](./02.1-jsx-in-depth.md).
JSX is very small; the example above uses every feature of JSX. To learn more about it, see [JSX in depth](./02.1-jsx-in-depth.md). Or see the transform in action in [our live JSX compiler](/react/jsx-compiler.html).
The easiest way to get started with JSX is to use the in-browser `JSXTransformer`, but in production you'll want to precompile your code using our command-line [react-tools](http://npmjs.org/package/react-tools) package.
Loading…
Cancel
Save