How to import repeated function in React

前端 未结 0 328
青春惊慌失措
青春惊慌失措 2021-02-01 02:12

I have a repeated piece of code, because I want to use the same function in two components (or more). How Can I import this in a good way, because my solution is not working wel

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