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 to 5.x #411
Comments
Hey there, |
Sounds good @jatinAroraGit! Lmk if you have any questions. |
@SYU15 I updated the react-router-dom and there have been no warnings or errors in the build process. On running the "npm test" command, it still passed all the tests. I would dive more into the documentation of react-router-dom and see what changes have they introduced into v5.1.0 and possible effects. |
Thanks for your help on this @jatinAroraGit! @Mr0grog actually just checked in a helpful section to get you up and running with the app in staging: https://github.com/edgi-govdata-archiving/web-monitoring-ui/blob/master/README.md#installation Can you follow the steps and let me know if you run into any issues? It would be great if you can confirm that the warnings no longer are thrown in the dev console. |
Hey @SYU15 , Here is a image showing the warning: |
Great! Thanks a bunch for working on this! Will take a look at those deprecation warnings you pointed out and maybe will create an issue for them. Go ahead and make a PR for the upgrade :) |
That’s OK — we can do a second PR for them. One thing at a time. :)
That makes sense — the React runtime won’t know there’s an issue until it’s given a component to render, and we don’t render |
Hi @jatinAroraGit, I’m just checking in — are you still working on this? |
We are currently on version
4.3.1
ofreact-router-dom
and are seeing a series of deprecation warnings like these in the application:These deprecation issues are fixed the the most recent major version release 5.x, however there could very well be some breaking changes in this that will require us to refactor our code, so this upgrade will require a bit of investigation/testing before we check it in.
The text was updated successfully, but these errors were encountered: