3 ms·
Since when does Reason have JSX?
by mercurial 10y ago
Since when does Reason have JSX?
- vcarl 10y agoJSX is actually a generic transformation of XML like structures to function calls. Since it's mostly used with React, that's the default, but you can use any function you like. It's the "pragma" option in the config for the plugin. https://babeljs.io/docs/plugins/transform-react-jsx/ https://babeljs.io/docs/plugins/transform-react-jsx/
- bsimpson 10y agoSince Reason was written by Jordan Walke and Cheng Lou (creators of React and React Motion, respectively), that's unsurprising.