Using fetch in composable with shared results
I have a vue composable that loads an api endpoint and I want any call to my
useFooData
composable to return the same useFetch
results so if someone calls the clear or refresh methods it appies everywhere.1 Reply
Or does it handle this stuff behind the scene?