If you use Compose 1.6, ImageVectors and animations, you might want to verify with Profile HWUI rendering that your app does not trigger this bug:
https://issuetracker.google.com/issues/297231233 I completely missed it as AS does not show any recomposition on the code for this case.