Please explain at what stage can I filter the string rxjs?

Slowly trying to understand what is rxjs, here is the code
const app = new Vue({
 el: '#app',
 data: {
 messageSubject$: new Rx.BehaviorSubject('Hello vue!')
},
 mounted() {
this.messageSubject$.subscribe()

 setTimeout(() => {
 this.messageSubject$.next('Hello vue(changed)!')
 }, 3000);
}
})

how to make that when you change Hello to Hello vue vue(changed) I could test whether the new row changed, if Yes, put it in this.messageSubject$ some value, for example true if not then false, or I do not understand correctly how it works?
June 10th 19 at 16:18
1 answer
June 10th 19 at 16:20

Find more questions by tags Vue.jsJavaScript