SetState button in for loop throws Maximum Depth exception

后端 未结 0 640
悲&欢浪女
悲&欢浪女 2021-02-15 11:33

I\'m trying to implement a one to five star rating on a React-Native app using a row of five buttons that each set a score value in the component\'s state to an integer (1, 2, 3

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