Flxclmnt
Flxclmnt
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
toRefs is useful when returning a reactive object from a composable function so that the consuming component can destructure/spread the returned object without losing reactivity
12 replies
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
I only I would read the docs more carefully lolll
12 replies
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
I finally found my issue, I was loosing reactivity from an object spread syntax
12 replies
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
thanks for your answers guys... I think its a reactivity issue where the computed prop body recalculates too many times based on its dependencies
12 replies
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
@manniL / TheAlexLichter Ive been watching all your great youtube videos and they helped a lot. If ever you have thoughts on this I would really appreciate. Thank you
12 replies
NNuxt
Created by Flxclmnt on 3/22/2024 in #❓・help
Best practice for fetching data updating url for copy/paste and url sharing purpose
I have a watcher on these properties which I want to navigate to... the problem is that the reactivity of the body occurs before the navigation therefore triggering 2 different request to the api the one from the the body changing and then the one from the page initial load
12 replies