{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-rx/issues/14","repository_url":"https://api.github.com/repos/vuejs/vue-rx","labels_url":"https://api.github.com/repos/vuejs/vue-rx/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-rx/issues/14/comments","events_url":"https://api.github.com/repos/vuejs/vue-rx/issues/14/events","html_url":"https://github.com/vuejs/vue-rx/issues/14","id":187539202,"number":14,"title":"vue-observable (rx) 2.0 observations","user":{"login":"zoomclub","id":1754062,"avatar_url":"https://avatars1.githubusercontent.com/u/1754062?v=3","gravatar_id":"","url":"https://api.github.com/users/zoomclub","html_url":"https://github.com/zoomclub","followers_url":"https://api.github.com/users/zoomclub/followers","following_url":"https://api.github.com/users/zoomclub/following{/other_user}","gists_url":"https://api.github.com/users/zoomclub/gists{/gist_id}","starred_url":"https://api.github.com/users/zoomclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoomclub/subscriptions","organizations_url":"https://api.github.com/users/zoomclub/orgs","repos_url":"https://api.github.com/users/zoomclub/repos","events_url":"https://api.github.com/users/zoomclub/events{/privacy}","received_events_url":"https://api.github.com/users/zoomclub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-06T03:22:52Z","updated_at":"2017-03-12T03:21:24Z","closed_at":null,"body":"The addition of the new subscriptions option to a vm makes a huge difference, thanks Evan! There is now a place (sandbox) for observables to do their thing in. Using the subscriptions option it is possible to build any kind of observable while the method option remains for standard functions. Its a nice separation of concerns.\r\n\r\nWhen I first encountered Vue and was learning the basics I saw an opportunity to bind RxJS directly into the Vue event system and I mentioned this in several issues here but never got any feedback on this idea. No one said a word but finally I came to the understanding that this binding could be achieved using a Vue Directive.\r\n\r\nI suppose this directive could be added to this vue-observable plugin as well but I'm not even sure it is the most versatile idea anymore? Using RxJS alone (using fromEvent) it is possible to capture events from the DOM so why bother with the directive? Can someone tell me instead of me just always making what I consider positive suggestions!\r\n\r\nAnyways, I just want to auto subscribe several observables when I create a component and capture their events as a streams. This looks like it is possible now so I can finally rest my battle weary head and enjoy the fruit of my quest for a good framework.\r\n\r\nBased on feedback I'll kill this and the other issues I created and we can all move on in triumph :)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-rx/issues/comments/285918939","html_url":"https://github.com/vuejs/vue-rx/issues/14#issuecomment-285918939","issue_url":"https://api.github.com/repos/vuejs/vue-rx/issues/14","id":285918939,"user":{"login":"zoomclub","id":1754062,"avatar_url":"https://avatars1.githubusercontent.com/u/1754062?v=3","gravatar_id":"","url":"https://api.github.com/users/zoomclub","html_url":"https://github.com/zoomclub","followers_url":"https://api.github.com/users/zoomclub/followers","following_url":"https://api.github.com/users/zoomclub/following{/other_user}","gists_url":"https://api.github.com/users/zoomclub/gists{/gist_id}","starred_url":"https://api.github.com/users/zoomclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoomclub/subscriptions","organizations_url":"https://api.github.com/users/zoomclub/orgs","repos_url":"https://api.github.com/users/zoomclub/repos","events_url":"https://api.github.com/users/zoomclub/events{/privacy}","received_events_url":"https://api.github.com/users/zoomclub/received_events","type":"User","site_admin":false},"created_at":"2017-03-12T03:21:24Z","updated_at":"2017-03-12T03:21:24Z","body":"@yyx990803 @regou What is the status of the new v-ob (v-stream) directive, can it be merged into vue-rx or is there some issue with it?\r\n\r\nI'm streamlining my component method flow a bit these days and find that just working with RxJS in regular Vue methods works best (without using the subscriptions object). RxJS or Observables IMO are is just a part of ES7 anyways so I'd like to just work with them like standard JS. Looks like this is an option now, while still getting automatic unsubscribe handling?"}}
{"actor":{"display_login":"zoomclub"}}