We're a place where coders share, stay up-to-date and grow their careers.
Hi TrinhDinhHuy, well put buddy, it helped me to clear out a few doubts that I had.
Moreover, I guess there's a type in the following code:
const myReply = React.memo(() => decideWhatToSay (girlFriendWords), [girlFriendWords])
I feel, instead of React.memo, it should be React.useMemo.
Keep writing!
Thank you! I updated it
Hi TrinhDinhHuy, well put buddy, it helped me to clear out a few doubts that I had.
Moreover, I guess there's a type in the following code:
const myReply = React.memo(() => decideWhatToSay (girlFriendWords), [girlFriendWords])
I feel, instead of React.memo, it should be React.useMemo.
Keep writing!
Thank you! I updated it