useFetch vs useAxios vs custom composable? #4805
Unanswered
rasyaddotgg
asked this question in
Q&A
Replies: 1 comment
-
You can use whichever you prefer. However, you should only use composables within the setup context. For further information, refer to this video (this video is about useFetch from nuxt, but this should be applied to every composable) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
should i use useFetch or useAxios or create my custom composable for example useFetch and useMutation, can anyone tell me what's popular way to fetch and mutation data in vue except using tanstack query? and so what pattern are you using when it comes to data fetching and mutation?
Beta Was this translation helpful? Give feedback.
All reactions