title: how do I make axios API call in a separate component / file?
body: <p>How do I make axios API call in a separate component / file?</p>
  
  <p>example:</p>
  
  <p>I created the index.jsx file that contains the component to integrate <code>axios</code> and after that I created the <code>app.jsx</code> file to render the index.jsx file containing axios in the <code>index.jsx</code> file</p>
  
  <p>thanks before</p>