useCallback and React.memo

The following codebox demostrate the use of useCallBack vs react.Memo to optimize react rendering. The intention is not to re-render everything and everytime something changes. 

But like all great power, comes great responsibilities. 


https://codesandbox.io/s/funny-lederberg-3cfjk?file=/src/App.js


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm