userid(uid){
    this.state.userid.map((user)=>{
      if(uid===user._id){
        console.log(user.username)
        return user.username
      }
    })
  }
<div style={{width:"80%"}}>
{this.state.posts.map(post=>
  <div key={post._id.toString()}>
    <div className="modal-content"><br/>
    <a >{this.**userid**(post.user_id)}</a>        
    <b>Title: {post.title}</b><br/>
    <div><b>Message: </b>{post.message}</div>
I'm calling the user id from the return render, but it is not returning back, is there any way to return
 
    