0.1.3 • Published 3 years ago

@whatsup-js/jsx v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Whats Up Jsx mutator and renderer

Install

npm i @whatsup/jsx @whatsup/babel-plugin-transform-jsx

Settings

Update the plugin section in your .babelrc file.

{
    "plugins": ["@whatsup/transform-jsx"]
}

Usage

import { render } from '@whatsup/jsx'

const App = fractal(async function* () {
    while (true) {
        yield <div>Hello world</div>
    }
})

render(App, document.getElementById('app'))
0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago