Fetching data with axios in react
问题 I'm new in react so I'm trying to make a get request with axios in react with a service to get a track and the respective races from it, but I got track like a empty object. I need to know how to make the get request efficiently. trackUtils.js import AppDispatcher from '../dispatcher/AppDispatcher'; import ActionTypes from '../constants/AppConstants'; import config from '../../config'; import axios from 'axios'; class trackUtil { constructor() { this.serverConfig = config.ServiceConfig; this