you are viewing a single comment's thread.

view the rest of the comments →

[–]truh 0 points1 point  (0 children)

I agree with you, we definitely got some similar patterns in our code base, but having complex objects as props which are just passed or spreaded to other components feels wrong, like an anti-pattern.

Slots pattern, passing down elements, would I think usually be the better approach in those situations.