DEV Community

Discussion on: Working with Axios in React

Collapse
lovmo profile image
Vetle Endresen

Hi, nice article! A question, where should API requests live within a React app? Say you have a database with many models, and you want to perform CRUD on them. Should you call the relevant API's from each component?