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
Fixes #32621 - Update useEffect to useDeepCompareEffect #9430
Conversation
Issues: #32621 |
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.
Tested and everything seems to be working fine :)
The request changes is just so we can move the dependency to @theforeman/vendor-core
LGTM otherwise 👍
webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js
Outdated
Show resolved
Hide resolved
@@ -49,6 +49,7 @@ | |||
"downshift": "^5.4.2", | |||
"ngreact": "^0.5.0", | |||
"query-string": "^6.1.0", | |||
"react-bootstrap": "^0.32.1" | |||
"react-bootstrap": "^0.32.1", | |||
"use-deep-compare-effect": "^1.6.1" |
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.
Let's move this dependency to https://github.com/theforeman/foreman-js/blob/83c486fef9f37eb2b9b101203e316c1b77d759f2/packages/vendor-core/package.json#L90 (Please open a PR in foreman-js)
That way Foreman can benefit from it too :)
Once it's merged there, Katello will pick it up and this line won't be needed.
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.
APJ
We can merge this and let the foreman-js PR get comments and we can use that if it's accepted. 👍🏽 |
@parthaa looks like there's 1 test failure, maybe it needs a rebase? |
Update webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js Co-authored-by: Jeremy Lenz <jlenz@redhat.com>
This broke packaging. theforeman/foreman-packaging#6844 was opened to add it, but it's not clear to me if this should be in foreman-js or not. |
No description provided.