Although in the specific example you gave I would go with your second suggestion (which only works if you don’t need more nesting of the composables)
v
vide
02/17/2023, 5:17 PM
TIL! Thanks, I knew something like this must exist but wasn't sure what to search for. The example is of course a very naive simplification of the actual situation