Calls with Kent C. Dodds — 138 episodes

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