Moving axios calls out of React Component – Reactjs
Is this an anti-pattern in React if I do this? How can I improve? I have an EventItem Component and another helper file - EventHelper.js which handles all the axios calls for the said component. The functions declared in this…