Marco G.

Results 9 comments of Marco G.

what's happening if you run testFunctionWithUseRouteInside() on "onMounted()" lifecycle?

i think it is a normal behaviour because if you run the code outside "onMounted" lifecycle, you are almost in "creating", it means that you are still in the old...

but the previous route is not destroyed yet at this point i would say

i tried to reproduce it in stackblitz but it doesn't crash to me, Could it be that it creates some sort of memory leak that brings down the machine? due...

i think it is a memory leak because i can't use right click on browser page when the app crash xD

@pont1s remove all await before useAsyncData, it will fix your problem In Nuxt pages, you can use `await` with `useAsyncData`, but it is not strictly necessary. It depends on the...

> Hello 👋 I can't reproduce the issue . > > @fishDev94 `await` is MANDATORY with `useAsyncData`, you'll have a high probability of having a memory leak AND cross-request state...

> Hello 👋 I can't reproduce the issue . > > @fishDev94 `await` is MANDATORY with `useAsyncData`, you'll have a high probability of having a memory leak AND cross-request state...

still doens't work for me with Nuxt 4.2.0, even if i remove vue devtools, any clue?