Prop passed in to component is undefined

后端 未结 0 360
孤街浪徒
孤街浪徒 2021-01-27 04:41

I am building an ecommerce website which includes a cart for each user. I want to pass the state of cart to a component using props

In App.js -



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