Andrew Snyder
Jun 24, 2021

--

Oh yeah, that's an interesting idea. You definitely could get creative with a dsl to try and match the compose syntax. You could also have a regular class that emits a composable in the init function.

Then you would call it just like a composable

TopLevel( ... )

Would work, or if you want it to act as a container

TopLevel( ... ) {

MiddleLevel( ... )

MiddleLevel( ... )

}

--

--

No responses yet