
Jetpack compose: @Immutable and @Stable with an exampleContinuing my journey to make my spreadsheet-like feature as performant as possible (you can read about it in my previous post), I found that I had to use @Immutable and @Stable annotations to explicitly mark types as stable (when Compose fails to infer accurately) so that the…