I\'m new to React and I am creating class components. I\'m currently using the componentDidMount() function to fetch some JSON to use in the component but when I save the fi