Code Monkey home page Code Monkey logo

act's Introduction

Act
A simple reactive front-end framework

    Join the chat at https://gitter.im/joaomilho/act


Hello Act

Here's Act's hello world:

main('Hello world')

And here's the classic counter example:

const view = (value) => ['button', {click: {add: count}}, value]
main(view, { model: 0 })

More examples

Check even more examples in the documentation.

Why?

Functional

Act is built on top of Ramda and encourages a functional programming style.

Small

Act is small and most functionality is added by different modules, resulting on small builds. The TodoMVC has 13.4kb (min+gz).

Transparent

Act's internal code should be owned by its users, therefore simplicity and readability are valued.

Complete

Act tries to be as complete as possible, and have clearly defined ways of doing the most common tasks.

Install

Act is written in es6 and expects you to use webpack, so you can import only the files you really need. To install, just run in your project folder:

npm i @act/main -s

Getting started

The easiest way to start a new Act project is by checking out act-starter.

This project will give you a very basic setup that you can use to bootstrap an Act project, including babel and webpack config for development.

Contributing

Act is still in a very alpha status. If you wanna help, take a look at the ideas for improvement.

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.