All Projects → andreypopp → es6-template-strings-jsx

andreypopp / es6-template-strings-jsx

Licence: other
No description, website, or topics provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

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-jsx

Using with Webpack

Webpack loader is included as es6-template-strings-jsx/loader.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].