How to change state of one function component from another function component in React Native?

后端 未结 0 2007
一整个雨季
一整个雨季 2020-11-22 13:47

I am new to React Native and JavaScript. I want to update Text on click of button. I read other questions but mostly they are about class components. Here\'s my code below.<

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