hyperapp / hyperapp
- вторник, 6 июня 2017 г. в 03:12:36
JavaScript
1kb JavaScript library for building frontend applications.
HyperApp is a JavaScript library for building frontend applications.
1kb
and has no dependencies.app({
state: 0,
view: (state, actions) => (
<main>
<h1>{state}</h1>
<button onclick={actions.add}>+</button>
<button onclick={actions.sub}>-</button>
</main>
),
actions: {
add: state => state + 1,
sub: state => state - 1
}
})
No software is free of bugs. If you're not sure if something is a bug or not, file an issue anyway. Questions, feedback and feature requests are welcome too.
The documentation is located in the /docs directory.
HyperApp is MIT licensed. See LICENSE.