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

Backbone Model/Collection change events should pass along remote:true from the Hoodie store event #14

Open
espy opened this issue Sep 24, 2014 · 1 comment

Comments

@espy
Copy link

espy commented Sep 24, 2014

Listening to hoodie.store.on directly, you get an options object with remote: true in it if the change came from, well, remote. This is super valuable because it lets you know whether you've got to re-render the current view or not (if the change came from the current client, you really don't want to).

However, when using Backbone's internal model/collection change events, you can no longer distinguish between remote and local changes, which makes things a bit complicated.

@laurens
Copy link
Contributor

laurens commented Nov 2, 2014

This issue might be fixed by PR #21

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

No branches or pull requests

2 participants