How to pass global variable or constant within react native's flatlist renderItem

前端 未结 0 1343
梦毁少年i
梦毁少年i 2020-12-20 01:44

I have this.state.user.uid currentuser in constructor and I want to check if senderid is equal to current user within react native\'s flatlist renderitem

  re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题