Conversation
Add `canonicalUrl` prop that renders `<link rel="canonical">` in the document head. This helps search engines identify the preferred URL for a page, preventing duplicate content penalties in CSR SPAs. - Add `canonicalUrl` optional prop to `ReactHeadSafeProps` - Implement `updateLinkTag` helper for `<link>` element management - Add tests for creation, update, and duplicate prevention - Update README.md and README.ko.md with new prop documentation - Add `canonicalUrl` usage to all example pages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis pull request adds support for a new Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary by CodeRabbit
New Features
canonicalUrlprop for improved SEO management.<link rel="canonical">tags in the document head.Documentation
Tests