This is right solution in case if we want to prevent Component rerender, but there is another…
Alexander Kruglyak
11

What you’ve described isn’t a new concern caused by this approach. One has to update code to handle a new data shape in either case. Also, propTypes specified on User.js will alert you if you pass the wrong data shape on props. 👍