8000 useFetch called twice after layout switching · Issue #21798 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content 8000
useFetch called twice after layout switching #21798
@c-schwan

Description

@c-schwan

Environment

Nuxt Version: 3.6.1

Reproduction

https://stackblitz.com/edit/nuxt-j8hefc

Describe the bug

useFetch is called twice after the layout changed.

pages/index.vue (called useFetch) -> pages/other (different layout) -> pages/index.vue (called twice useFetch)

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