0.1.3 • Published 4 years ago

luminite v0.1.3

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

luminite.js

Tiny modern JS Framework (only ~3KB minified) with reactivity power to create state-based UI component with familiar API.

Inspired by Vue & Mithrill.

Quick Start

HTML:

<div id="app"></div>

JavaScript:

import { luminite, m } from 'luminite'

const app = new luminite({
  el: '#app',
  data: {
    count: 0
  },
  view: (data) => m('div', [
    m('p', `Count: ${data.count}`),
    m('button', { onClick: () => data.count++ }, '+1'),
    m('button', { onClick: () => data.count-- }, '-1'),
  ])
})

app.render()
0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago