Is there any method to setstate using location.state.map value in reactJs?

后端 未结 0 476
梦毁少年i
梦毁少年i 2020-12-18 12:32

In this code i want the values of location.state.map i.e {val.img},{val.price} etc to be set below mention useStates. I actually wanted to send the values of location.state.

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