Thread
#compose
    k

    KamilH

    1 year ago
    How is the “Composer” object passed to
    Composable
    functions? I went through “Under the hood of Jetpack Compose” recently and I saw it mentions that calling context is getting passed to
    Composable
    functions. I thought it’s done similarly to
    suspend
    functions, so when I decompile
    Composable
    function I will see something similar to
    Continuation
    object, but nothing like that is there. I know Compose works also in the phase of code generation during compilation, so is it possible to see generated code?
    r

    romainguy

    1 year ago
    Compose generates code at the IR level, what it does is visible in the final bytecode