I'm looking to understand what is the best practice when it comes to utilizing Axios to fetch data from Node.js. I have multiple graphs, cards and other components on the given page and am trying to understand if I should be calling Axios on the parent page for each component and passing the values as props to the component or rather call Axios and the data in each component itself.
Trying to understand what is seen as best practice.
From my understanding it is better to let each component be self standing (i.e. call its own data from the DB) rather than once on the page.
Much appreciated.