Skip to content
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

Merged
merged 1 commit into from Jul 2, 2021

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Jun 25, 2021

No description provided.

@theforeman-bot
Copy link

Issues: #32621

Copy link
Member

@jeremylenz jeremylenz left a 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 👍

@@ -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"
Copy link
Member

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.

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APJ

@sjha4
Copy link
Member

sjha4 commented Jul 1, 2021

We can merge this and let the foreman-js PR get comments and we can use that if it's accepted. 👍🏽

@jeremylenz
Copy link
Member

@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>
@ekohl
Copy link
Member

ekohl commented Jul 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants