Skip to content

feat: hook into resolved tags hookTagsResolved#115

Merged
harlan-zw merged 1 commit intomainfrom
feat/hook-tags-resolved
Oct 3, 2022
Merged

feat: hook into resolved tags hookTagsResolved#115
harlan-zw merged 1 commit intomainfrom
feat/hook-tags-resolved

Conversation

@harlan-zw
Copy link
Collaborator

Issue

There is no way to modify the resolved head tags in both a SSR and client-side context.

Solution

Add a simple hook to allow users to view and update tags as they are resolved.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2022

Export Size

@vueuse/head

Name Size Diff
createHead 1.91 KB +20 B (+1.04%) 🔺
Unchanged

@vueuse/head

Name Size Diff
createElement 220 B -
Head 531 B -
injectHead 162 B -
isEqualNode 183 B -
renderHeadToString 741 B -
resolveHeadInput 199 B -
setAttrs 219 B -
sortTags 185 B -
stringifyAttrName 109 B -
stringifyAttrs 260 B -
stringifyAttrValue 101 B -
tagDedupeKey 276 B -
tagToString 424 B -
updateElements 769 B -
useHead 244 B -

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.

1 participant