-
Notifications
You must be signed in to change notification settings - Fork 66
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: migrate to signals #137
base: master
Are you sure you want to change the base?
Conversation
c9f4ed3
to
5151dc5
Compare
Hi, I'll review it tomorrow! |
map(results => results.map(this.mapToSearchResult)) | ||
); | ||
search = toSignal(this.searchField.valueChanges.pipe(debounceTime(150))); | ||
focus = signal(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to keep the 'INIT' / 'FOCUS' logic as more explicit than using numbers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geromegrignon removed the focus here, without this also search working same as before.
@geromegrignon can you review and merge this PR first then we can review the Prettier PR. |
Reviewed. |
No description provided.