Open Symbitic opened 7 years ago
Vue-rx for just simple TODOS are unnecessary. Maybe this firebase seach project? https://github.com/acoshift/vue-rxjs-example
Hi @regou, I saw this in the example provided
.do(() => { this.page = 1 }) // reset page if query changed
I am wondering if this is the right way with stream, because it modifies page
stream. Is there away for page
stream to listen to q
stream and reset if q
stream has changed.
Hi @regou, I saw this in the example provided
.do(() => { this.page = 1 }) // reset page if query changed
I am wondering if this is the right way with stream, because it modifies
page
stream. Is there away forpage
stream to listen toq
stream and reset ifq
stream has changed.
On this example this is indeed the right way
In some cases
.distinctUntilChanged
then .do
is better
I think there should be an implementation of TodoMVC using vue-rx. Or if not the full TodoMVC, then at least a simple 'todo' example. A real world application's needs would probably align closer with the todo app than with the counter examples, and it would probably help new users better understand how to use it.