3 ms·
> why I made my example a bit more complicated It doesn’t really change that you need to be able to test every component in isolation. For A this means you nee
by Aeolun 4y ago
> why I made my example a bit more complicated
It doesn’t really change that you need to be able to test every component in isolation. For A this means you need to be able to swap B, for B this means you need to be able to swap C, etc.
> Creating dedicated properties for them is neither idiomatic from component authoring perspective, nor very scaleable.
I’d say if you are trying to do this for more than 3 components in the same parent you are probably doing something wrong with your structure in the first place.