You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Performant and predictable
Absolutely the smallest possible amount of DOM updates and reflows.
Fast expressions bindings instead of virtual DOM memory performance issues and drawbacks.
One way data flow: updates and unmounts are propagated downwards from parent to children.
No "magic" or "smart" reactive properties or hooks
Expressions are pre-compiled and cached for high performance.
Lifecycle methods for more control.
Close to standards
No proprietary event system.
Future proof thanks to the javascript module syntax.
The rendered DOM can be freely manipulated with other tools.
No extra HTML root elements, data- attributes or fancy custom attributes.
No new syntax to learn.
Plays well with any frontend framework.
Use your dearest language and tools
Create components with CoffeeScript, Jade, LiveScript, Typescript, ES6 or any pre-processor you want.
If you are reading this it's already a good sign and I am thankful for it! I try my best working as much as I can on riot but your help is always appreciated.
If you want to contribute to riot helping the project maintenance please check first the list of 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 your development environment properly.
Following the steps below you should be able to properly submit your patch to the project
1) Clone the repo and browse to the riot folder
git clone git@github.com:riot/riot.git &&cd riot
2) Set up your git branch
git checkout -b feature/my-awesome-patch
3) Install the npm dependencies
npm i
4) Build and test riot using the Makefile
# To build and test riot
$ make riot
# To build without testing
$ make raw