Buy me a coffee if this is useful 😀
https://www.buymeacoffee.com/rowadz
slides:
https://rowadz.github.io/Shallow-Equa...
Shallow object copies in JavaScript and how they are useful with React.memo (memoized components)
• Shallow object copies in JavaScript a...
shallowEqual function from react:
https://github.com/facebook/fbjs/blob...
Must-read links
mapStateToProps:
https://react-redux.js.org/using-reac...
React.memo:
https://reactjs.org/docs/react-api.ht...
useSelector hook:
https://react-redux.js.org/api/hooks#...
Watch video Shallow Equality and re-rendering in the context of mapStateToPros || useSelector || React.memo online without registration, duration hours minute second in high quality. This video was added by user Rowadz 28 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,531 once and liked it 78 people.