Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Riot - Introduction and Hands on
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tsutomu Kawamura
December 14, 2015
Programming
180
0
Share
Riot - Introduction and Hands on
#TKJS XMAS @TokyoSquareGarden
http://www.meetup.com/tokyojs/events/226903404/
Tsutomu Kawamura
December 14, 2015
More Decks by Tsutomu Kawamura
See All by Tsutomu Kawamura
Connect your library to the world
cognitom
0
150
JTF2018
cognitom
5
1.3k
Riot: changing on v3 and its companion tools
cognitom
0
150
LLoT Night - Riot.js
cognitom
1
1k
Felt - a simple web server with the power of the future
cognitom
0
340
Riot: all about v2 to v3
cognitom
7
3.9k
Create A Small Studio in A Cafe
cognitom
2
950
Riot.js in WPD-Week
cognitom
19
11k
Riot and Components
cognitom
4
660
Other Decks in Programming
See All in Programming
Kingdom of the Machine
yui_knk
1
100
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.5k
Nuxt Server Components
wattanx
0
280
おれのAgentic Coding 2026/03
tsukasagr
1
140
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
900
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
210
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
210
Swift Concurrency Type System
inamiy
0
520
実践CRDT
tamadeveloper
0
550
KagglerがMixSeekを触ってみた
morim
0
380
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
170
実用!Hono RPC2026
yodaka
2
190
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7k
So, you think you're a good person
axbom
PRO
2
2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
A Soul's Torment
seathinner
6
2.7k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
130
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
200
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
130
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Odyssey Design
rkendrick25
PRO
2
570
Transcript
Tsutomu Kawamura @cognitom Librize LLC / OpenSource Cafe, Shimokitazawa
Riot.js?
User interface micro-library
React Angular Vue Polymer
OK, try it
bit.ly/riot-1
None
bit.ly/riot-2
None
• Custom tags = Component • Enjoyable syntax • Virtual
DOM • Tiny size: library, learning cost, your code Why Riot?
18KB riot.min.js Tiny size gzip 8KB
Ember 493KB Angular 145KB React 133KB Polymer with Polyfill 218KB
Riot 18KB Compare
3FBDU JS in HTML 3JPU
Scoped CSS • CSS with scope • independent • no
more BEM!
Mount a riot
TAG file JS Compile $ npm install -g riot $
riot filename.tag
<my-tag> <p>{ message }</p> <style>p { color:white }</style> <script>…</script> </my-tag>
riot.tag(‘my-tag’, ‘<p>{ message }</p>’, ‘p { color:white }’, function(opts) {…} ) Compile
Pre-comp • gulp-riot • riotify • riotjs-loader
Test karma-riot
Build up <app> <part1> <part2> <btn> <fa> <date-picker> <dropdown> <photo>
views parts reusables
Build up <app> <part1> <part2> <btn> <fa> <date-picker> <dropdown> <photo>
views parts reusables route data store observable
Up to you Flux Redux Jade Page.js ES6 Less
Examples github.com/riot/examples
EN ES FR JA RU ZH DE Riot Docs riotjs.com
None
None
None
Ready to use
Thank you!