vuejs/vue-rx

Observable with params.

ionutt opened this issue · 2 comments

Hi,
I am new to VUE ( I have an angular background ). Is there a way to and in the HTML something like this?

{{someObservable('value1')}}

{{someObservable('value2')}}

I need to watch on the same component multiple subjects depending on the value that is pass from the function.
Thanks in advance.

regou commented

If you mean someObservable('value1') | async like angular
Then no.
All async rendering ob on template have to pre-defined on subscriptions
Before vue support async filters. I don't find a better way but to handle these async rendering by updating data values in $subscribeTo -> next callback

Thanks.