How to pass id from one component to another component onclick of an element

前端 未结 0 1668
予麋鹿
予麋鹿 2021-01-05 17:22

I\'m trying to pass this is as id as props to another component which is not a child of the component. I was considering using context but i wanted to know if there was ano

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