es6-template-strings-jsx
v1.0.1
Published
Transform ES6 Tagged Template Strings with JSX into JS
Maintainers
Readme
ES6 JSX-Tagged Template Strings to JS transform
This is a syntax transform which transforms ES6 JSX-Tagged Template Strings to JS. For example:
var element = jsx`
<p>
Hello, ${name}!
</p>
`;is being transformed into:
var element = React.createElement('p',
'Hello, ', name
);Installation
% npm install es6-template-strings-jsxUsing with Webpack
Webpack loader is included as es6-template-strings-jsx/loader.
