You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be bigger than compose for web, but I'm noticing that starting in 1.2.1, that I'm getting recompositions that I shouldn't for methods which take a parameter from a library module. This seems like a huge regression, so I'm guessing it's already a KI?
Basically, the behavior looks like this:
sealed interface Justification {
object Left : Justification
object Center: Justification
object Right: Justification
}
It's likely related to update from kotlin/js 1.7.10 to kotlin/js 1.7.20 (the compiler plugin for 1.7.20 didn't consider inferred @Immutable from dependency modules)
Hey @bitspittle,
we published a new build of compose compiler plugin you may want to try with kotlin 1.7.20.
// in your build.gradle.kts
compose {
kotlinCompilerPlugin.set("1.3.2.2-beta01") // it's a temporary hack. The new compiler version will likely be included in compose-multiplatform 1.2.2
}
Originally reported in compose-web slack: https://slack-chats.kotlinlang.org/t/8070137/this-may-be-bigger-than-compose-for-web-but-i-m-noticing-tha
recomposes-too-often-bug.zip
The text was updated successfully, but these errors were encountered: