plastiq-jsxify

1.0.0 • Public • Published

JSX + plastiq + browserify

var plastiq = require('plastiq');
var h = plastiq.html;

function render() {
  return <div>
      <h1>this is your plastiq on jsx</h1>
      <button onclick={function () { alert('yo bobo'); }}>say hi</button>
    </div>;
}

plastiq.append(document.body, render);

install

npm i plastiq-jsxify

usage

browserify -t plastiq-jsxify index.js > bundle.js

/plastiq-jsxify/

    Package Sidebar

    Install

    npm i plastiq-jsxify

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • refractalize