Thanks to visit codestin.com
Credit goes to github.com

Skip to content
 
 

Latest commit

 

History

534 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis CI Codecov npm Slack

HyperApp is a JavaScript library for building frontend applications.

  • Declarative: HyperApp's design is based on the Elm Architecture. Create scalable browser-based applications using a functional paradigm. The twist is you don't have to learn a new language.
  • Stateless components: Build complex user interfaces using pure functions. Stateless components are framework agnostic, predictable and easy to debug.
  • Batteries-included: Out of the box, HyperApp combines state management with a Virtual DOM engine that supports keyed updates & lifecycle events — all with no dependencies.

Get started with HyperApp

Hello World

Try it online

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
  }
})

Documentation

The documentation is located in the /docs directory.

Community

License

HyperApp is MIT licensed. See LICENSE.

About

1 KB JavaScript library for building frontend applications.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages