How to call function of another component in react

前端 未结 0 1995
遥遥无期
遥遥无期 2020-12-08 18:01

hey guys i am new to react and I want to call play() function of audioplayer.js from music.js. I heard about context api, but i am not sure how to use it. When i click the b

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