-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Security Solution] [Sourcerer] Make use of reselect in sourcerer selectors #176916
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
[Security Solution] [Sourcerer] Make use of reselect in sourcerer selectors #176916
Conversation
|
/ci |
x-pack/plugins/security_solution/public/common/containers/sourcerer/index.tsx
Show resolved
Hide resolved
…nto sourcerer-selectors-new-style
| sourcerer: { | ||
| ...mockGlobalState.sourcerer, | ||
| sourcererScopes: { | ||
| ...mockGlobalState.sourcerer.sourcererScopes, | ||
| analyzer: { | ||
| ...mockGlobalState.sourcerer.sourcererScopes.default, | ||
| selectedPatterns: indices, | ||
| }, | ||
| }, | ||
| }, |
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.
😆
PhilippeOberti
left a comment
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.
the code LGTM and I smoke tested the application
semd
left a comment
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.
LGTM! Thanks Kevin 🚀
...lugins/security_solution/public/explore/network/components/embeddables/embedded_map.test.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/timelines/hooks/use_create_timeline.tsx
Show resolved
Hide resolved
|
It looks great, thanks @kqualters-elastic ! |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…ectors (elastic#176916) ## Summary This pr should change nothing functionally, but changes the selectors used in components for sourcerer to make use of createSelector and benefit from memoization at all times,
Summary
This pr should change nothing functionally, but changes the selectors used in components for sourcerer to make use of createSelector and benefit from memoization at all times,