8000 Calling `useHead` after an asynData cause freezing head tags · Issue #19244 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content
Calling useHead after an asynData cause freezing head tags #19244
@farnabaz

Description

@farnabaz

Environment

------------------------------
- Operating System: `Linux`
- Node Version:     `v16.14.2`
- Nuxt Version:     `3.2.2`
- Nitro Version:    `2.2.3`
- Package Manager:  `npm@7.17.0`
- Builder:          `vite`
- User Config:      `-`
- Runtime Modules:  `-`
- Build Modules:    `-`
---

Reproduction

https://stackblitz.com/edit/nuxt-starter-ezanbf?file=components%2FTest.vue,pages%2Findex.vue,pages%2Finvalid.vue,app.vue

Originally reported in nuxt/content#1919

Describe the bug

  • Open reproduction, click on invalid link
  • Check <title> tag in head
  • Click in index link
  • Check title, still shows invalid page's title

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0