Fetch Utility File Structure
Hi! I have a project created with the CLI's basic template and I am hoping to add API connectivity using the fetch utility. Where should I put the code to fetch data from the API? Should it go directly in the command file that it is relevant to, or should it be separated into a different file? Thanks for the help.
1 Reply
Wherever you want it to go. It's your code after all.