The Call Kent Podcast
The Call Kent Podcast
Kent C. Dodds
useMemo vs React.Memo when it comes to JSX
4 minutes Posted Aug 4, 2022 at 12:03 am.
0:00
4:46
Download MP3
Show notes

I was on the project with some really cool developers(ex Amazon) and I saw them using useMemo inside of the jsx, like this:

So my question would be, do you think this is good practice or would you rather use React.memo for these kind of things....

useMemo vs React.Memo when it comes to JSX