Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: TodoMVC implementation #56

Open
Symbitic opened this issue Sep 8, 2017 · 3 comments
Open

Request: TodoMVC implementation #56

Symbitic opened this issue Sep 8, 2017 · 3 comments

Comments

@Symbitic
Copy link

Symbitic commented Sep 8, 2017

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.

@regou
Copy link
Collaborator

regou commented Sep 9, 2017

Vue-rx for just simple TODOS are unnecessary.
Maybe this firebase seach project?
https://github.com/acoshift/vue-rxjs-example

@cuong-nguyen
Copy link

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.

@regou
Copy link
Collaborator

regou commented Nov 8, 2018

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.

On this example this is indeed the right way
In some cases
.distinctUntilChanged then .do is better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants