It means that it would have to call passed function to a compose to obtain a descriptor. Along the way it would be possible to read displayName of that function and append into final descriptor. I also like it this way as final composition is more readable.
Just an idea, I'm not sure if it doesn't collide with something else at this point, but what about defining component like this:
It means that it would have to call passed function to a
compose
to obtain a descriptor. Along the way it would be possible to readdisplayName
of that function and append into final descriptor. I also like it this way as final composition is more readable.