0.0.4 • Published 7 years ago

sill v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

9 years ago