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

feat: vanilla function resolves #443

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Conversation

harlan-zw
Copy link
Collaborator

@harlan-zw harlan-zw commented Jan 7, 2025

#435

Allows any input to be a function that can be resolved, this improves support for React and other languages that don't provide an explicit ref to pass along.

useHead({
  script: [
    { src: () => resolveSomeSrc() }
  ]
})

@harlan-zw harlan-zw mentioned this pull request Jan 7, 2025
16 tasks
@harlan-zw harlan-zw merged commit b2ed420 into main Jan 8, 2025
2 checks passed
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