React - How can I pass API data from one component to another in a different js file?

前端 未结 0 1432
滥情空心
滥情空心 2021-01-23 02:15

Lets say I want to pass the data from the getData axios request in my code below to another function located in a different file in my react app.

exp         


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