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

Debounce timer i nameSearch, nødvendig? #458

Open
trulshj opened this issue Apr 2, 2024 · 1 comment
Open

Debounce timer i nameSearch, nødvendig? #458

trulshj opened this issue Apr 2, 2024 · 1 comment

Comments

@trulshj
Copy link
Contributor

trulshj commented Apr 2, 2024

https://github.com/varianter/vibes/blob/87bd3c5c077ffb4f9953fed90c649fc020840b92/frontend/src/hooks/staffing/useNameSearch.ts

@jonasbjoralt
Copy link
Collaborator

Ja - Hvis ikke vil den søke på nytt og refreshe ved hvert keystroke. En ting er at det spammer serveren en del (siden søk ligger i URL), en annen at det blir mye jitter i selve UIet

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