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