Riot.js is a React-like user interface micro-library.
Riot is against the current trend of boilerplate and unneeded complexity. The team think that a small, powerful API and concise syntax are extremely important things on a client-side library.
Let us know if you discover anything worth sharing.
Riot is tiny and super flexible, there are many different ways to use riot. For example, you can use compiler to compile the tags files, you can also use browserify to build bundled javascript, you can even use the tiny Riot compiler on your page and compile tags on the fly.
This example is using compiler on the page to compile the tag file (js/todo.html
).
This example is following TodoMVC's coding style, however officially Riot recommends a different coding style, FYI.
Created by Tianxiang Chen