PLAY PODCASTS
useMemo vs React.Memo when it comes to JSX
Season 2 · Episode 30

useMemo vs React.Memo when it comes to JSX

Harun asked this on 2022-07-27

The Call Kent Podcast

August 4, 20224m 46s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

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

Topics

React.Memo useMemo