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

Add support for "smart updates" of filters. Add smart update of unload event. #242

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

cjblomqvist
Copy link

Assume the following scenario:

  1. You have a lot of docs of collection1 loaded on page 1
  2. You go to page where you setup a filter based upon collection1

Due to the unload delay in Racer and how filters work (basically, rerun everything on every little event), you'll end up with perf problems if you have the above scenario. Specifically, we had a simple scenario where we'd have a significant amount of docs (100-1000) unloading, which caused a lot of reruns of the ids fn. This caused the browser to hang.

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

Successfully merging this pull request may close these issues.

1 participant