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(remix-react): fix attributes for namespaced Open Graph and Facebook meta tags #4445

Merged
merged 3 commits into from Oct 28, 2022

Conversation

chaance
Copy link
Collaborator

@chaance chaance commented Oct 28, 2022

meta misses a few cases when checking for OG meta, rendering <meta name> instead of <meta property> for those tags. This PR fixes that.

I also added semi-related tests for nested route cases just to make the meta tests cover a bit more ground.

  • Docs
  • Tests

@changeset-bot
Copy link

changeset-bot bot commented Oct 28, 2022

🦋 Changeset detected

Latest commit: d5c68c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@remix-run/react Patch
create-remix Patch
remix Patch
@remix-run/architect Patch
@remix-run/cloudflare Patch
@remix-run/cloudflare-pages Patch
@remix-run/cloudflare-workers Patch
@remix-run/deno Patch
@remix-run/dev Patch
@remix-run/eslint-config Patch
@remix-run/express Patch
@remix-run/netlify Patch
@remix-run/node Patch
@remix-run/serve Patch
@remix-run/server-runtime Patch
@remix-run/vercel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ryanflorence ryanflorence merged commit e981c49 into dev Oct 28, 2022
@ryanflorence ryanflorence deleted the chance/meta-fixes branch October 28, 2022 19:38
@github-actions github-actions bot added the awaiting release This issue has been fixed and will be released soon label Oct 28, 2022
@github-actions
Copy link
Contributor

🤖 Hello there,

We just published version v0.0.0-nightly-5020fa4-20221029 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

@MichaelDeBoey MichaelDeBoey changed the title Fix attributes for namespaced Open Graph and Facebook meta tags fix(remix-react): fix attributes for namespaced Open Graph and Facebook meta tags Oct 29, 2022
kentcdodds pushed a commit that referenced this pull request Dec 15, 2022
* fix(meta): use 'property' instead of 'name' for namespaced og: tags

* fix(meta): make og checks more robust

* chore: add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting release This issue has been fixed and will be released soon CLA Signed renderer:react
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants