{"action":"created","issue":{"url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/118","labels_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/118/comments","events_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/118/events","html_url":"https://github.com/ManuelDeLeon/viewmodel/issues/118","id":110832206,"number":118,"title":"Compare to React ?","user":{"login":"deanius","id":24406,"avatar_url":"https://avatars.githubusercontent.com/u/24406?v=3","gravatar_id":"","url":"https://api.github.com/users/deanius","html_url":"https://github.com/deanius","followers_url":"https://api.github.com/users/deanius/followers","following_url":"https://api.github.com/users/deanius/following{/other_user}","gists_url":"https://api.github.com/users/deanius/gists{/gist_id}","starred_url":"https://api.github.com/users/deanius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanius/subscriptions","organizations_url":"https://api.github.com/users/deanius/orgs","repos_url":"https://api.github.com/users/deanius/repos","events_url":"https://api.github.com/users/deanius/events{/privacy}","received_events_url":"https://api.github.com/users/deanius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-11T04:07:20Z","updated_at":"2015-10-11T05:23:27Z","closed_at":"2015-10-11T05:23:27Z","body":"Manuel,\r\n   I've started using ReactJS a bit, and notice how it shares a pretty close philosophy to ViewModel (which of course comes from MVVM). Could you maybe point out a few differences between Viewmodel and React?\r\n\r\nSimilar\r\n  * You have an object representing the state of your view\r\n  * You have the option for enhancing that with computed properties\r\n  * The UI is thought to be 'a function of' the view object\r\n  * The UI reactively updates per changes to the data elements (aka props)\r\n\r\nDifferent\r\n  * `data-bind` tags are code-like command appearing in your markup, whereas JSX has markup appearing in your code.\r\n  * React can server-side render \r\n\r\n  One thing that I don't see a corresponding piece for in viewmodel is the abilty to, say, repeat `<li>` for every item in a collection/list. "},"comment":{"url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/comments/147158659","html_url":"https://github.com/ManuelDeLeon/viewmodel/issues/118#issuecomment-147158659","issue_url":"https://api.github.com/repos/ManuelDeLeon/viewmodel/issues/118","id":147158659,"user":{"login":"deanius","id":24406,"avatar_url":"https://avatars.githubusercontent.com/u/24406?v=3","gravatar_id":"","url":"https://api.github.com/users/deanius","html_url":"https://github.com/deanius","followers_url":"https://api.github.com/users/deanius/followers","following_url":"https://api.github.com/users/deanius/following{/other_user}","gists_url":"https://api.github.com/users/deanius/gists{/gist_id}","starred_url":"https://api.github.com/users/deanius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanius/subscriptions","organizations_url":"https://api.github.com/users/deanius/orgs","repos_url":"https://api.github.com/users/deanius/repos","events_url":"https://api.github.com/users/deanius/events{/privacy}","received_events_url":"https://api.github.com/users/deanius/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T05:23:27Z","updated_at":"2015-10-11T05:23:27Z","body":"I love the idea of state and actions in an array of immutables. I think you are on track to have something that is of practical convenience than either big framework, even if it seems not to have the 'brand recognition', but I swear by ViewModels, I've been doing them for years, and the syntax is to me much better for yours compared to React and all its chicanery."}}