Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: dont add when helmetdata already has same instance #176

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

Open
king-of-emotion wants to merge 1 commit into staylor:main
base: main
Choose a base branch
Loading
from king-of-emotion:not-add-when-already-has-same-instance

Conversation

@king-of-emotion
Copy link

@king-of-emotion king-of-emotion commented Jul 11, 2022

I use react-helmet-async like https://github.com/staylor/react-helmet-async#usage-without-context example, but every time I access the website that has Helmet Component, helmetData add same instance and not remove.

Dispatcher class has componentWillUnmount, but it is not called probably because this class render method return null.

So, I want to check the helmetData when add the instance that helmetData already has or not.

sorry for my poor english.

gilluminate and SkeloGH reacted with thumbs up emoji
@king-of-emotion king-of-emotion force-pushed the not-add-when-already-has-same-instance branch from 7a72ceb to 82c6bbb Compare July 11, 2022 09:35
@king-of-emotion king-of-emotion changed the title (削除) fix: dont add when helmetdata has already same instance (削除ここまで) (追記) fix: dont add when helmetdata already has same instance (追記ここまで) Jul 11, 2022
Copy link
Author

@staylor please check this pull request.

Copy link

This will also address issues brought up in #213

NextJS apps will be able to use this package after this PR has been merged. Please bump this in priority.

michaelschufi reacted with heart emoji

Copy link

Any update for this?

SkeloGH reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /