Reactjs Using Hooks as a common function in multiple components

前端 未结 0 2021
心在旅途
心在旅途 2020-12-28 15:37

i have a function which is using useCallback() and useEffect() and i want to move this function to a file something like Utils.js but i am unable to achieve it



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