What are the pros and cons of making your api call from within your react app verses creating a separate api application?
I'm new to creating/using APIs and React, so can someone give me some pros and cons (or links to articles that detail the pros and cons) of making your api calls directly in your react app vs. creating a separate api application?
I see now that my question didn't make as much sense as I originally thought. But to your point (and mine I think): React is going to make the API call, the API itself will be written OUTSIDE of the react application as it would have to be, right? I think I confused myself about where each application would/could live i.e.: both applications on the same server vs. on two different servers. So in the main regard, thank you for your response and in a lessor regard, never mind haha!