Giter Site home page Giter Site logo

panchalkalpesh / hyperapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jorgebucaran/hyperapp

0.0 3.0 0.0 898 KB

1kb JavaScript library for building frontend applications.

Home Page: https://hyperapp.glitch.me

License: MIT License

JavaScript 100.00%

hyperapp's Introduction

Travis CI Codecov npm Slack

HyperApp is a JavaScript library for building frontend applications.

  • Minimal: HyperApp was born out of the attempt to do more with less. We have aggressively minimized the concepts you need to understand while remaining on par with what other frameworks can do.
  • Functional: 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.
  • 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: {
    count: 0
  },
  view: (state, actions) =>
    <main>
      <h1>{state.count}</h1>
      <button onclick={actions.down}></button>
      <button onclick={actions.up}></button>
    </main>,
  actions: {
    down: state => ({ count: state.count - 1 }),
    up: state => ({ count: state.count + 1 })
  }
})

Documentation

The documentation is in the docs directory.

Community

License

HyperApp is MIT licensed. See LICENSE.

hyperapp's People

Contributors

jojibucaran avatar lukejacksonn avatar maraisr avatar tzellman avatar lazarljubenovic avatar terkelg avatar zaceno avatar fvj avatar madebyherzblut avatar andyrj avatar skaterdad avatar swizz avatar danigb avatar farism avatar fmarts avatar panchalkalpesh avatar mrkstwrt avatar ngryman avatar peterdavehello avatar igl avatar wobbabits avatar t8g avatar tiaanduplessis avatar douglascalhoun avatar fsodano avatar evgenykochetkov avatar idkjs avatar dylan avatar judas-christ avatar bhageena avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.