@whatsup/react
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

Install

npm i @whatsup/react

Usage

import React from 'react'
import { render } from 'react-dom'
import { fractal } from 'whatsup'
import { WhatsUp } from '@whatsup/react'

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

render(<WhatsUp stream={App} />, document.getElementById('app'))

Readme

Keywords

none

Package Sidebar

Install

npm i @whatsup/react

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

7.66 kB

Total Files

9

Last publish

Collaborators

  • iminside