Skip to content

Conversation

@jbadan
Copy link
Contributor

@jbadan jbadan commented Mar 19, 2019

Description

Using react-helmet-async, we can update the title and meta description in the head to be accurate on page change. I put the SetMeta component inside utils for now, but am open to moving it to it's own folder.

Also fixes the logo routing issue.

fixes #456 #468

@jbadan jbadan requested a review from a team March 19, 2019 22:19
"react-dev-utils": "^6.1.1",
"react-dom": "^16.6.3",
"react-element-to-jsx-string": "^14.0.2",
"react-helmet-async": "^0.2.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@greg-a-smith does this need to be in regular dependencies or is dev deps ok?

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like it could just live in dev dependencies.

"react-dev-utils": "^6.1.1",
"react-dom": "^16.6.3",
"react-element-to-jsx-string": "^14.0.2",
"react-helmet-async": "^0.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like it could just live in dev dependencies.

Copy link
Contributor

@greg-a-smith greg-a-smith left a comment

Choose a reason for hiding this comment

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

Looks good. 🚢

@jbadan jbadan merged commit 697592d into master Mar 25, 2019
@jbadan jbadan deleted the docs/helmet branch March 25, 2019 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Docs: a11y: title does not update on page change

3 participants