HTML syntax is the de facto language on the web and it's designed for building user interfaces. The syntax is explicit, nesting is inherent to the language and attributes offer a clean way to provide options for custom tags.
Expressions Bindings
Absolutely the smallest possible amount of DOM updates and reflows.
One way data flow: updates and unmounts are propagated downwards from parent to children.
Expressions are pre-compiled and cached for high performance.
Lifecycle events for more control.
Close to standards
No proprietary event system.
Event normalization.
The rendered DOM can be freely manipulated with other tools.
No extra HTML root elements or data- attributes.
Plays well with jQuery.
Use your dearest language and tools
Create tags with CoffeeScript, Jade, LiveScript, Typescript, ES6 or any pre-processor you want.
Integrate with NPM, CommonJS, AMD, Bower or Component
If you are reading this it's already a good sign and we are thankful for it! We try our best working as much as we could on riot but your help is always appreciated.
If you want to contribute to riot helping us maintaining the project please check first the list of our open issues to understand whether there is a task where you could help.
Riot is mainly developed on UNIX systems so you will be able to run all the commands necessary to build and test the library using our Makefile. If you are on a Microsoft machine it could be harder to set up you development environment properly.
Following the steps below you should be able to properly submit your patch to the project
# To build and test riot
$ make riot
# To build without testing
$ make raw
# To build anytime you change a src file
$ make watch
# To bench riot ( it requires ctrl+c to exit )
$ make perf