HTML elements as components HTML elements as components Standard HTML elements can be used as riot components in the page body with the addition of the is attribute. <ul is...
Basis Installation Usage Quick Start Basis Installation You can install riot via npm: npm i - S riot Or via yarn yarn add riot Usage You can bundle you...
Plugins Plugins Riot provides an easy way to upgrade its components. When a component is created it can be enhanced by the plugins registered via riot.install . // riot-observ...
Mounting Accessing DOM elements How to use jQuery, Zepto, querySelector, etc. Contexted DOM query Properties State Riot component lifecycle Lifecycle callbacks Mounting ...
Introduction Introduction Custom tags need to be transformed to javascript before the browser can execute them.The riot compiler is designed to transform riot tags into javascr...
Component Syntax and API The script tag Template shortcuts Observable Opts vs props and state Refs attributes Parent and children Custom events dispatching Virtual tags Yie...
CLI Installation Components registration CLI The new CLI is much more powerful than the older one since it can compile single tags but it can also bundle your entire Riot.js ...
Live Examples Next release Current release 5.1 3.4 3.3 Live Examples Next release React Official Vue Angular Polymer Mithril Marko HTML Svelte Riot Ember Prea...
Syntax Syntax A Riot component is a combination of layout (HTML) and logic (javascript). Here are the basic rules: Each .riot file can contain the logic for only a single co...