-
Notifications
You must be signed in to change notification settings - Fork 7
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
Maintenance/jan 2021 #264
Maintenance/jan 2021 #264
Conversation
I think this can be explained by this: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html. So perhaps we could move to v11 taking this into account.
These are identical except |
I thought the caret and x syntax were similar and that's what I read too The head-scratching part comes when I have it back at caret syntax, rm node_modules, do a fresh install, then run I'm on npm -v 6.14.10 |
I looked into updating
But was unable to get things to compile — also here are some other weird results from the new eslint settings — it doesn't see that we're using elements imported from |
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.
This looks good to me and tested out fine. Found the issues Bill was working through are related upgrading additional dependencies than what is already checked in here. Going to continue those efforts from a fresh slate.
Most of these packages either had minor or patch upgrades awaiting — only 1 or 2 had major upgrades.
Major version upgrades:
immer
's major upgrade includes the breaking change toalways freeze by default, even in production mode
which I think is fineeslint-config-standard-react
was able to go up to11.x.x
but that major version results in strange linting output like telling us thatReact
is an unused variable when it's clear we need it to be in scope when using JSX — lint passes just fine at10.x.x
which is what we updated toQuestion:
I thought caret syntax
^5.0.1
was the same as5.x.x
but seems not? Lots of versions in this PR are changing to thex.x.x
syntax — which gives good output after installing and runningncu
Here's the before and after:
Summary of what's left:
error-overlay-webpack-plugin
is upgraded to support it. There's an open issue herePaths forward that we're holding back on
webpack-dev-server
that also updateswebpack-dev-middleware
to support webpack 5 so we'll hold off until we can make that movecopy-webpack-plugin@7.x.x
requires webpack 5history
has a major version we can upgrade but I thought we talked about holding off on updating this? There are some things we gotta think about, especially features that are removed as breaking changes. See here https://github.com/ReactTraining/history/releases?after=v5.0.0-beta.1And see the breaking changes section here https://github.com/ReactTraining/history/releases