Can my useState use my ids instead of my array index? Error says they are undefined

前端 未结 0 1308
温柔的废话
温柔的废话 2021-01-06 05:06

Still new to react. I\'m making a decision tree and I want to use my ids instead of my array index to jump around the array of responses depending on how a user answers but

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