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

Upgrade react-router-dom #811

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Conversation

michael-markl
Copy link
Member

This PR, we can finally (? :D) upgrade to a recent version of react-router-dom. The problem was that the usePrompt hook (as well as other parts of the API) was removed in a intermediate version of react-router-dom v6. With remix-run/react-router#8139 (comment) the feature was added back in a recent version.

Copy link
Member

@maxammann maxammann left a comment

Choose a reason for hiding this comment

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

Looks good! Not tested though.

PS: I hate Router library in JS.

@michael-markl
Copy link
Member Author

PS: I hate Router library in JS.

@michael-markl michael-markl merged commit d2bf600 into upgrade-npm-packages Feb 23, 2023
@michael-markl michael-markl deleted the upgrade-router branch February 23, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants