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

Refactor a few more element modifiers away #7784

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

Conversation

jrjohnson
Copy link
Member

By running the search from the constructor and whenever the query is
changed we don't need to element modifiers anymore. I also touched up
school loading to remove the async property altogether.
Intercepting the set of values before passing them up and running the
search once in the constructor let's us remove the element modifiers
from this component.
Intercepting the set didn't work. Instead I've put results in a tracked
getter. This maintains the existing behavior of search as well as the
current search from the query string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant