Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt3): return render function for <Head> #3213

Merged
merged 2 commits into from
Feb 14, 2022
Merged

fix(nuxt3): return render function for <Head> #3213

merged 2 commits into from
Feb 14, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#12746

❓ 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 like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We need to return a render function; default slot isn't always an equivalent function at the time the parent setup is run.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Feb 13, 2022
@danielroe danielroe requested a review from pi0 February 13, 2022 01:08
@danielroe danielroe self-assigned this Feb 13, 2022
@netlify
Copy link

netlify bot commented Feb 13, 2022

βœ”οΈ Deploy Preview for nuxt3-docs canceled.

πŸ”¨ Explore the source changes: ed456d8

πŸ” Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/620a30753ed12b0008a2709d

@pi0 pi0 merged commit 9734856 into main Feb 14, 2022
@pi0 pi0 deleted the fix/head-slot branch February 14, 2022 10:46
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Meta Components reports Cannot read properties of null (reading'$nuxt') error
2 participants