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

Nested route does not wait for parent route to finish setup #18906

Closed
adamcikado opened this issue Feb 8, 2023 · 1 comment
Closed

Nested route does not wait for parent route to finish setup #18906

adamcikado opened this issue Feb 8, 2023 · 1 comment

Comments

@adamcikado
Copy link

Environment


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

Reproduction

https://stackblitz.com/edit/nuxt-starter-k2bwh5

  1. Click "Go to clients"
  2. Click "Go to client" on /clients page
  3. Rendering breaks as the nested route is being rendered before useAsyncData is resolved and result provided to children route

If you would click on "Go to client" from index page, it works perfectly fine, as it's not nested route.

Describe the bug

The nested route is being rendered before parent route's setup is done (when using async setup) if navigating from other nested route.

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

Let's track this in #13814.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants