How to use React.useMemo in custom hook react.js?

后端 未结 0 1198
情歌与酒
情歌与酒 2021-01-11 17:39

I have a custom hook for handling image inputs but I\'m trying to encapsulate it with useMemo but I don\'t know exactly how to do this.

useImage.js

imp         


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