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

Multiple fast requests leave the table in inconsistent state #7

Open
jpbottaro opened this issue Oct 22, 2012 · 2 comments
Open

Multiple fast requests leave the table in inconsistent state #7

jpbottaro opened this issue Oct 22, 2012 · 2 comments

Comments

@jpbottaro
Copy link
Contributor

Since the ordering of the incoming responses of parallel requests is unknown, and the table is updated when the 'reset' event is fired in the collection, it can reach inconsistent states.

We should only care about the last request (as per user input), and cancel/ignore the rest.

@sontek
Copy link

sontek commented Nov 12, 2012

There is an extension, https://github.com/amccloud/backbone-safesync that handles this well.

@jpbottaro
Copy link
Contributor Author

Thanks sontek! I checked it out and it seems cool, but I'd like this feature to be part of the library, without adding a dependency.

As soon as I get the time I'll fix the issue.

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

2 participants