-
Notifications
You must be signed in to change notification settings - Fork 361
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 to React 18 #8095
Upgrade to React 18 #8095
Conversation
@Archaeopteryx I replaced I also had issues with routes (connected-react-router is not compatible). |
I finally decided not to upgrade webpack-dev-server for now (nor To make ESLint work, I upgraded to 9.x (with configuration file), but had to drop support for I hope the build works as expected. |
@Archaeopteryx I updated the tests to pass with React 18. It was quite a while, but all CI jobs should be green now. Next step on my side is to look at console warnings I suppose. |
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.
Thank you. During testing, no issues have been noticed.
The upgrade to ESLint 9 and the removal of the airbnb js style guide causes some reformatting, e.g. puts multiple function arguments into a single line which makes history annotation per line ('blame') noisy. On the other hand it's unknown when then the style guide will support ESLint 9.
Is it a dependency on a different package (which depends on React 18) which ties the upgrade to ESLint 9? Could ESLint 8 and packages which depend on it be kept?
442d3f5
to
f4791fb
Compare
I'm not sure why I upgraded ESLint initially, probably because |
…gin" This reverts commit ca7652a.
The migration of React itself is rather straightforward.
The application seems to work as usal (tested with a new frontend build using
BACKEND=https://treeherder.allizom.org/
).However dependencies would require a much larger effort to remain maintainable: