DEV Community

Discussion on: Should parent component pass object or just id?

Collapse
 
cairnswm profile image
William Cairns

Keeping a component as simple as possible should be the goal. So by passing the object as a prop, the child will only do display whick keeps it very simple