Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created March 8, 2014 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreypopp/9428504 to your computer and use it in GitHub Desktop.
Save andreypopp/9428504 to your computer and use it in GitHub Desktop.
/**
* @jsx React.DOM
*/
var jsx = (
React.DOM.div(null,
" Hello, " ,
React.DOM.a(null, "world!")
)
);
/**
* @jsx React.DOM
*/
var jsx = (
React.DOM.div(null,
"Hello,",
React.DOM.a(null, "world!")
)
);
/**
* @jsx React.DOM
*/
var jsx = (
<div>
Hello,
<a>world!</a>
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment