title: get the latest data from api with axios and react-hooks
body: <p>so I have a data on API, all I need is the latest data.</p>
  
  <p>this latest data is always at the bottom, if for example the data is 50, so the latest data is at number 50</p>
  
  <p>my question is, how can I get only the latest data? thank you</p>