My fellow web developers, where do you stand on this? When passing props from a parent to a child component/function, do you prefer: 1. Passing the object (reference) 2. Passing only the specific values needed?
3 likes 3 replies
?
My fellow web developers, where do you stand on this? When passing props from a parent to a child component/function, do you prefer: 1. Passing the object (reference) 2. Passing only the specific values needed?
3 likes 3 replies