-
Notifications
You must be signed in to change notification settings - Fork 64
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(ESSNTL-4076): Upgrade react-router-dom to version 6 #1968
Conversation
9dbdb6e
to
762855a
Compare
@@ -71,7 +70,7 @@ const EntityTable = ({ | |||
); | |||
|
|||
const defaultRowClick = (_event, key) => { | |||
history.push( | |||
navigate( |
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 think here we can freely use navigate
from react-router and just replace with navigate(key)
(using relative path).
b708bb7
to
1eebc6d
Compare
@gkarat why there is a rage label? |
Haha, it just reflects my feelings working on the router upgrade 😄 |
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! The last issue was resolved, and I can see the app working fine locally. Let's push it next 🚀
0f8c534
to
a5bc2b1
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1968 +/- ##
==========================================
- Coverage 62.34% 60.93% -1.41%
==========================================
Files 151 153 +2
Lines 4809 4882 +73
Branches 1360 1361 +1
==========================================
- Hits 2998 2975 -23
- Misses 1811 1907 +96
☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version 1.37.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Resolves: https://issues.redhat.com/browse/ESSNTL-4076
Upgrades react-router to v6 and refactors all class components to function components