ReactJS call parent function from grandchild without using props

前端 未结 0 1880
鱼传尺愫
鱼传尺愫 2020-12-01 08:14

Hello I have a program right now where my great-grandchild calls the parent function that is passed down by props. I don\'t like the idea of passing a function too deep into

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