ã«ã¹ã¿ã ã¿ã°ã®ä¾ Riotã®ã«ã¹ã¿ã ã¿ã°ã¯ãã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®æ§æè¦ç´ ã§ãã ã¢ããªã±ã¼ã·ã§ã³ã®ããã¥ã¼ãé¨åãæ ãã¾ããRiotã®ãããããªç¹å¾´ããã¤ã©ã¤ããããTODOã®ä¾ã®æ¡å¼µããå§ãã¾ãããã <todo> <h3>{ opts.title }</h3> <ul> <li each={ items }> <label class={ completed: done }> <input type="checkbox" checked={ done } onclick={ parent.toggle }> { title } </label> </li> </ul> <form onsubmit={ add }> <input ref="input" onkeyup={ edit }> <button disabled={ !text }>Add #{ items.length
Riot.js ã¯ã«ã¹ã¿ã ã¿ã°ã追å ãã¦ãããã¨ã§ãã²ã¨ã¤ã®ã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ãã¦ããã¾ãã ããã¦ãã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯å¤é¨ã® RESTful API ãå¼ã³åºãã¦ããã®ãã¼ã¿ãå ã« UI ãçµã¿ç«ã¦ã¦ããããã¨èããã§ãããã Riot.js ã®ã«ã¹ã¿ã ã¿ã°ã使ã£ã¦ãFacebook ã®ãããæ°ãåå¾ãã¦è¡¨ç¤ºããã¨ããã·ã³ãã«ãªã«ã¹ã¿ã ã¿ã°ãä½ã£ã¦ã¿ã¾ããããã«ä»åã¯ãHTML ã®æ°ããªæ¨æºä»æ§ Fetch ã使ã£ã¦æ¨æºçãªããããã§åå¾ãã¾ãã TL;DR <sns-count-facebook> ã¨ããã«ã¹ã¿ã ã¿ã°ãå®ç¾©ãã¦ã以ä¸ã®ããã«å¼ã³åºããã¨ãåæã«ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}