Reactjs class exemple componentdidmount

componentDidMount() {
        // send HTTP request
        // save it to the state
    }
Junior Grepper