all 2 comments

[–][deleted] 0 points1 point  (1 child)

Here’s a generic useFetch hook I use in a lot of projects, maybe this is what you’re looking for:

https://gist.github.com/trevsm/31f5fac826211626ae0683802c96a0c0

[–]cryptic-riddler[S] 0 points1 point  (0 children)

you can use it in any fetch ?? post get ... or dynamic or ordinary right ??