{"action":"created","issue":{"url":"https://api.github.com/repos/yoshuawuyts/choo/issues/169","repository_url":"https://api.github.com/repos/yoshuawuyts/choo","labels_url":"https://api.github.com/repos/yoshuawuyts/choo/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/yoshuawuyts/choo/issues/169/comments","events_url":"https://api.github.com/repos/yoshuawuyts/choo/issues/169/events","html_url":"https://github.com/yoshuawuyts/choo/issues/169","id":165508960,"number":169,"title":"How does it compare to RiotJS?","user":{"login":"depoulo","id":4457202,"avatar_url":"https://avatars.githubusercontent.com/u/4457202?v=3","gravatar_id":"","url":"https://api.github.com/users/depoulo","html_url":"https://github.com/depoulo","followers_url":"https://api.github.com/users/depoulo/followers","following_url":"https://api.github.com/users/depoulo/following{/other_user}","gists_url":"https://api.github.com/users/depoulo/gists{/gist_id}","starred_url":"https://api.github.com/users/depoulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depoulo/subscriptions","organizations_url":"https://api.github.com/users/depoulo/orgs","repos_url":"https://api.github.com/users/depoulo/repos","events_url":"https://api.github.com/users/depoulo/events{/privacy}","received_events_url":"https://api.github.com/users/depoulo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T08:44:56Z","updated_at":"2016-07-14T12:52:50Z","closed_at":null,"body":"Hi, loving the idea, considering using choo, but unsure how it compares to RiotJS. Maybe you can share your opinion..."},"comment":{"url":"https://api.github.com/repos/yoshuawuyts/choo/issues/comments/232656711","html_url":"https://github.com/yoshuawuyts/choo/issues/169#issuecomment-232656711","issue_url":"https://api.github.com/repos/yoshuawuyts/choo/issues/169","id":232656711,"user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T12:52:50Z","updated_at":"2016-07-14T12:52:50Z","body":"I've never used riot, but just from looking at it, I see a few differences.  \r\n\r\nRiot allows custom XML-style elements (like `<todo></todo>`) and a custom curly braces solution for intermingling JavaScript.  They do require a little bit of extra work to setup.  Looks like one line of separate JS code per custom element. `riot.mount('todo')`\r\nChoo templates are standard ES6 strings.  View functions take the place of custom elements.  There's currently no transform step to associate `<todo></todo>` with a view function like `todoView(state)`.\r\n\r\nIt looks like Riot uses traditional Observables (event emitter wrappers around your plain object literals & arrays).  Choo uses plain JS objects & arrays and would probably work better with \"modern\" Observables (RxJS-style), but again, I haven't used Riot, so I really don't know specifically.\r\n\r\nRiot doesn't seem to enforce any specific architecture, but does claim the same flexibility as is allowed in Flux.  This is probably related to Riot using traditional Observables, and it's pretty typical to register callbacks on event emitters.  \r\nChoo is based on the Elm architecture / Redux.  You can check out these articles on the [pros](http://stackoverflow.com/questions/32461229/why-use-redux-over-facebook-flux) and [cons](http://stackoverflow.com/questions/32021763/what-could-be-the-downsides-of-using-redux-instead-of-flux/32916602#32916602) of Redux vs Flux.\r\n\r\nAs a disclaimer, I'm new here.  So if I'm off base on anything, then hopefully the community will help clarify.  :)"}}
{"actor":{"display_login":"marshallswain"}}