facebook / jsx

The JSX specification is a XML-like syntax extension to ECMAScript.
http://facebook.github.io/jsx/
1.96k stars 133 forks source link

Add JSXAttributeInitializer #49

Closed jmm closed 8 years ago

jmm commented 8 years ago

Support for boolean attributes (e.g. <X y /> vs <X y={true} />) is already advertised (JSX in Depth, https://github.com/facebook/react/issues/2536#issuecomment-64830878) and implemented (e.g. Babel), so I'm thinking it should be reflected here?

RReverser commented 8 years ago

Yeah, good catch. LGTM. /cc @sebmarkbage

jmm commented 8 years ago

Thanks!