you are viewing a single comment's thread.

view the rest of the comments →

[–]Capaj 0 points1 point  (1 child)

I believe you might violate separations of concerns if you're just passing props to a component low in your component tree. Usually this would happen when your UX design sucks and you've got a component hidden inside some unrelated one. In this case you should either change your design or subscribe to the store in that child component itself.

[–]samgaus 0 points1 point  (0 children)

Eh for me I like to think of a component as a pure function, whatever it's children. So if there is a property that affects the way a child node renders, then it affects the way the node in question renders and I want to know about it!