-
Notifications
You must be signed in to change notification settings - Fork 125
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
update to react-router 6 #301
Conversation
@Fullstop000, you already got 300 points from easy level tasks when all pull requests merged. And you will not get score from this PR. |
Thanks for your contribution. If your PR get merged, you will be rewarded 100 points. |
hi @Fullstop000 , thanks for your contribution, I will test and review soon. |
Hi @Fullstop000 , after my test, I found some errors, statements / diagnose / search logs / profile pages can't show normally, they are all empty, and the console outputs following errors:
|
There is some discussion in facebook/react#18178 , I tried to upgrade the react to 16.13.1 , it doesn't dismiss the warning. It should be caused by the new version react-router, above warning doesn't happen for react-router v5, someone has already reported in remix-run/react-router#7199 as well. So I think let's wait a few days more to see whether react-router will fix it, if it doesn't, we can merge it first and upgrade it in the future. |
Sounds reasonable :) |
hi @Fullstop000 , react-router fixed above warning in https://github.com/ReactTraining/react-router/releases/tag/v6.0.0-alpha.3 , you can have a try, but unfortunately they removed |
Maybe using a history API instead |
@baurine I'm fine with both. This task is not ergant. |
Signed-off-by: Fullstop000 <fullstop1005@gmail.com>
Signed-off-by: Fullstop000 <fullstop1005@gmail.com>
Signed-off-by: Fullstop000 <fullstop1005@gmail.com>
b1be952
to
77f4ee1
Compare
@baurine The second warning has been fixed and the first warning only shows on the initial render. |
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
UCP #249
Update to react-router6
Signed-off-by: Fullstop000 fullstop1005@gmail.com