Skip to content

Commit

Permalink
Update CI-Troubleshooting.md - link Compose stability articles
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV authored Feb 15, 2024
1 parent 50f0446 commit 4e93f9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/CI-Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ If this job is failing this means that your changes break an existing unit test.

## Compose Stability

This GitHub Action checks whether your `@Composable` functions are stable (i.e. "restartable" and "skippable"). If it fails it means that some of your composables are unstable. That causes unnecessary recompositions which can lead to lost frames and laggy UI/UX especially when animation or scrolling. You must fix that! To fix it, open the failing working and see the output from report - it tells you which `@Composable` functions are unstable and what parameters cause that.
This GitHub Action checks whether your `@Composable` functions are stable (i.e. "restartable" and "skippable"). If it fails it means that some of your composables are unstable. That causes unnecessary recompositions which can lead to lost frames and laggy UI/UX especially when animation or scrolling. You must fix that! To fix it, open the failing working and see the output from the report - it tells you which `@Composable` functions are unstable and what parameters cause that.

**Fixing Stability issues:**
1. Read https://developer.android.com/jetpack/compose/performance/stability/fix
2. https://developer.android.com/jetpack/compose/performance/stability

**Compose Stability baseline** (not recommended)
```
Expand Down

0 comments on commit 4e93f9d

Please sign in to comment.