Skip to content
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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="5.2.2"></a>
## [5.2.2](https://github.com/nfl/react-helmet/compare/5.2.1...5.2.2) (2019-09-15)


### Bug Fixes

* Fix compatibility with React 16.9 ([#472](https://github.com/nfl/react-helmet/pull/472)), closes [#465](https://github.com/nfl/react-helmet/issues/465) [#426](https://github.com/nfl/react-helmet/issues/426) [#413](https://github.com/nfl/react-helmet/issues/413)



<a name="5.2.1"></a>
# [5.2.1](https://github.com/nfl/react-helmet/compare/5.2.0...5.2.1) (2019-03)

Expand Down
20 changes: 3 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-helmet",
"description": "A document head manager for React",
"version": "5.2.1",
"version": "5.2.2",

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

#501 (comment)

Copy link

@hitendramalviya hitendramalviya Jan 23, 2020

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.

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

Copy link
Contributor Author

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.

Screen Shot 2020-01-23 at 08 59 00

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already added in my development plan, soon I will be switched to react-helmet-async. Thanks @maxmalov & @rifaidev for quick response.

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.

"main": "./lib/Helmet.js",
"author": "NFL <[email protected]>",
"contributors": [
Expand Down Expand Up @@ -33,7 +33,7 @@
"object-assign": "^4.1.1",
"prop-types": "^15.5.4",
"react-fast-compare": "^2.0.2",
"react-side-effect": "^1.1.0"
"react-side-effect": "^2.1.0"
},
"devDependencies": {
"babel-cli": "^6.24.0",
Expand Down