If I have a composable function in a class, and th...
# compose
e
If I have a composable function in a class, and the class is not inferred to be stable, and I reference something from that class in the composable function, compiler metrics shows that function as restartable but not skippable. Should I be marking that class as
@Immutable
?
Copy code
public class ComposeTest {
  private val foo: CharSequence = ""

  @Composable
  public fun Render() {
    println(foo)
  }
}

restartable fun Render(
  unstable <this>: ComposeTest
)