0.0.4 • Published 6 years ago

sill v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

sill

A fun(ctional) little frontend application framework.

/** @jsx h */
import { h, app } from 'sill'
import store from './store.js'

import App from './components/App.js'
import Home from './pages/Home.js'
import About from './pages/About.js'

const program = app([
  ['/', () => (
    <App>
      <Home />
    </App>
  )],
  ['/about', () => (
    <App>
      <About />
    </App>
  )]
])(document.getElementById('root'))

store.update(state => program.render())

MIT

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

8 years ago