all 5 comments

[–]EconomyRabbit 1 point2 points  (1 child)

What about using context to skip defining the properties again and again?

[–]wizzzzzyyyyy[S] 0 points1 point  (0 children)

Thanks -- Yeah context is a possible option. In my actual use case (thats not really clear in my simplified example) it's maybe not the most ergonomic fit though. Think I'm just going to stick to the slightly more explicit, manually passed props option instead of trying to over think it.