Closed MV-GH closed 1 month ago
Mostly from the noise in the kotlin compose slack channel
Also beware that kotlin compiler 2 brings some changes to recompositions. Strong skipping is now enabled by default. This is good but might cause some issues if we have something wrongly configured. So I would at least wait a bit to do a release.
https://medium.com/androiddevelopers/jetpack-compose-strong-skipping-mode-explained-cbdb2aa4b900
Important changes
- Composables with unstable parameters can be skipped.
- Unstable parameters are compared for equality via instance equality (===)
- Stable parameters continue to be compared for equality with Object.equals()
- All lambdas in composable functions are automatically remembered. This means you will no longer have to wrap lambdas in remember to ensure a composable that uses a lambda, skips.
That last one is very good, many of my recompositions changes were that, (my PR is getting pretty far but will have to change now)
Sweet.
The 2.0.0 kotlin compiler has been released already. It just moved now to a plugin
https://developer.android.com/jetpack/androidx/releases/compose-kotlin