Getting error "Component is already mounted" when using "useFetch()" and changing route.
I am getting the error in my console:
This is when using multiple
A reproduction can be found here: https://stackblitz.com/edit/github-o9ivmk-bcdf3h?file=layouts%2Fdefault.vue
I'm quite sure it has to do with the composable
I cannot change
Any ideas?
This is when using multiple
useFetch() in a composable and then navigating to another route.A reproduction can be found here: https://stackblitz.com/edit/github-o9ivmk-bcdf3h?file=layouts%2Fdefault.vue
I'm quite sure it has to do with the composable
useTwoStepFetch() but unsure how to solve.I cannot change
useFetch() to $fetch, because I want the call to be deduped.Any ideas?
StackBlitzH.J. van Meerveld
Create a new Nuxt project, module, layer or start from a theme with our collection of starters.