-
-
Notifications
You must be signed in to change notification settings - Fork 414
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: use react-router new routing approach RouterProvider #3761
Conversation
I'll wait for someone else to take a look. And also test on the preview website. |
Visit the preview URL for this PR (updated for commit a387fd8): https://onearmy-next--pr3761-chore-react-router-e-hkf1dsp1.web.app (expires Sun, 11 Aug 2024 14:27:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 6d65e4f8fee2f6ab2da0c1c3b85b8797d66afa59 |
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.
Could deffo refactor the routing setup but not the focus of this PR. Will do a quick manual check on the preview build too.
Passing run #6011 ↗︎
Details:
Review all test suite changes for PR #3761 ↗︎ |
A basic click through confirmed all routes working as before. |
Found that after this change, confirmation on leaving the page no longer works. Besides that, found a few more instances where forms were being submitted by clicking other buttons, which were breaking some tests. (because the default type of buttons is submit, not button) |
found more issues when saving forms |
Note the change on |
Awesome, this looks like really good work @mariojsnunes. |
🎉 This PR is included in version 1.199.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Checklist
PR Type
Description
https://github.com/remix-run/remix/blob/bbead33bf530be030d16a1466b52cd99d077382a/decisions/0005-remixing-react-router.md#react-router-api-surface
Use the newer and recommended routing approach to make it easier to migrate to Remix later.