-
Notifications
You must be signed in to change notification settings - Fork 188
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
chore(search-indexes): set up search indexes detection COMPASS-7196 #4815
Conversation
export const setStatus = (status: SearchIndexesStatus): SetStatusAction => ({ | ||
type: ActionTypes.SetStatus, | ||
status, | ||
}); |
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.
Setter actions are an an anti-pattern, currently this is only initial value where this is being used, can we pass it to the store as initial state?
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.
Ended up with #4821 PR to handle it separately.
Description
Checklist
Motivation and Context
Open Questions
Dependents
Types of changes