A simple reactive front-end framework
ย
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 })
Check more examples in the documentation.
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
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.
Act is still in a very alpha status. If you wanna help, take a look at the ideas for improvement.