Shallow object copies in JavaScript and how they are useful with React.memo (memoized components)

Опубликовано: 22 Март 2026
на канале: Rowadz
717
16

slides:
https://rowadz.github.io/Shallow-Equa...

Shallow Equality and re-rendering in the context of mapStateToPros || useSelector || React.memo
   • Shallow Equality & Re-renders in React | m...  

previous video:
   • Shallow Equality & Re-renders in React | m...  

shallowEqual function from react:
https://github.com/facebook/fbjs/blob...

Must-read links:

React.memo:
https://reactjs.org/docs/react-api.ht...