componentDidMount() {
    var self = this
    recipientService.getRecipient(self.state.id).then(function (result) {
        self.setState(result);
        console.log(result)
    })  
    
}
/**
 * Life cycle hook that is called after the component is first rendered.
 */
Life cycle hook that is called after the component is first rendered.
Life cycle hook that is called after the component is first rendered .
componentDidMount() {
    var self = this
    recipientService.getRecipient(self.state.id).then(function (result) {
        self.setState(result);
        console.log(result)
    })  
}
componentDidMount ( ) { var self = this recipientService . getRecipient ( self . state . id ) . then ( function ( result ) { self . setState ( result ) ; console . log ( result ) } ) }
Life cycle hook that is called after the component is first rendered.
Life cycle hook that is called after the component is first rendered .