-
Notifications
You must be signed in to change notification settings - Fork 8
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
[CP-3004] Added toast component #2080
Conversation
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 did a quick review and only had some minor comments. From me, it's approved—please include what you consider important and merge without additional checking, so we don't block the queue.
const toastsToRender = useSelector((state: ReduxRootState) => | ||
selectToastsToRender(state, { viewKey }) | ||
) | ||
const toastsToRenderDependency = JSON.stringify(toastsToRender) |
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.
Why is this here: const toastsToRenderDependency = JSON.stringify(toastsToRender)? Is it to work around the issue of array reference changes?
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.
We can leave this topic for the next sync
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.
Sure, let's discuss it later.
Co-authored-by: Daniel Karski <[email protected]>
Co-authored-by: Daniel Karski <[email protected]>
Co-authored-by: Daniel Karski <[email protected]>
JIRA Reference: CP-3004
📝 Description ️
💪 Checklist before requesting a review - nice to have
❗ Checklist before merging a pull request