Skip to content

pug-php/pug-filter-react

Repository files navigation

pug-filter-react

Latest Stable Version Build Status Code Climate Test Coverage StyleCI

This template:

body
  :jsx
    /** @jsx dom */
    var dom = React.createElement;

    ReactDOM.render(
      <h1>Hello world!</h1>,
      document.getElementById('main')
    );

will be rendered like this:

<body>
  <script type="text/javascript">
    "use strict";

    /** @jsx dom */
    var dom = React.createElement;

    ReactDOM.render(dom(
        "h1",
        null,
        "Hello world!"
    ), document.getElementById('main'));
  </script>
</body>

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.