String useState Value Is Empty after Storing a Value in an API Response to It

后端 未结 0 1077
感动是毒
感动是毒 2021-01-13 22:15

What I am trying to do here is to extract the id (Number) from an API response, parse it into String, and set it to its state variable. However, when I console log it, it gi

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