Skip to content

Conversation

@harlan-zw
Copy link
Collaborator

@harlan-zw harlan-zw commented Dec 25, 2025

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Moves resolveTags() to be used in a composition API style, this allows improved bundles as we only need this code when we are rendering the tags which can be safely delayed for the client from the main unhead core.

Migration

+import { resolveTags } from 'unhead/utils'

const head = injectHead()
-const tags = head.resolveTags()
+const tags = resolveTags(head)

@harlan-zw harlan-zw mentioned this pull request Dec 25, 2025
@harlan-zw harlan-zw merged commit b6a52e0 into v3 Dec 25, 2025
@harlan-zw harlan-zw mentioned this pull request Jan 4, 2026
6 tasks
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.

2 participants