-
Notifications
You must be signed in to change notification settings - Fork 660
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
Fix compatibility with React 16.9 #472
Conversation
@rifaidev you need to change |
It would be nice to merge this PR please @tmbtech . It is really confusing to hack yarn.lock to make a warning disappear. |
@cwelch5 Could you look at this? |
Please merge this PR it become a need of hour to get our console free from such warning messages. |
@rifaidev Would you mind try pushing an empty commit? Maybe the maintainers won't pick this up until all checks are green and this could speed up merging. |
I just did, and still failing. Actually I highly recommend switching to https://github.com/staylor/react-helmet-async instead. |
This is such a popular repository, and I am amazed with the fact that an issue since last year still have no resolution even after a potential fix given in current PR. Seems authors are no more interested in this community work. I am disappointed to drop such a fantastic pacakge from my project I will add a plan to drop it or will use some alternative of this 😞 |
@@ -1,7 +1,7 @@ | |||
{ | |||
"name": "react-helmet", | |||
"description": "A document head manager for React", | |||
"version": "5.2.1", | |||
"version": "5.2.2", |
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.
It can't be a patch upgrade, a new version of react-side-effect
uses react >= 16.9
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.
Okay understood, so need to create different pull react for future minor version or you already added into development plan? Asking because I am not seeing any label on this.
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.
I've just noticed that upgrade of react-side-effect breaks backward compatibility (I’m not a maintainer of this repo)
Personally I would like to help to resolve react depreciations, but it looks like react-helmet-async
appeared for a reason with the same intentions
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.
You're right, and @wheeler mentioned so already few months ago, however since this package is no longer maintained, I switched to react-helmet-async
and looks like everyone is doing the same.
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.
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.
I switched today - it's fairly simple for a client-side rendered React project, you just have to add the provider and then replace all imports and that's pretty much it.
Full 6.0.0 release coming soon. In the meantime, 6.0.0-beta.2 will work with the latest React version. |
Fix for #465, #426 and #413 by updating react-side-effect to v2.0.0 since it's now using
UNSAFE_componentWillMount
instead ofcomponentWillMount
.