if i had to me an api call where would i dok that in react js mounting life cycle code example Example: component did mmount componentDidMount()