I\'m just learning how hooks work in larger applications. I\'m trying to figure out what the correct pattern is here. I typically wrap my api calls in their own files. For i