to a composable function, or should it be wrapped in something marked as
@Immutable
?
➕ 1
g
gildor
01/11/2022, 5:53 AM
LocalDate is immutable and has equals/hashcode, so it will be fine
a
Adam Powell
01/11/2022, 3:00 PM
It won't be treated as stable by compose but you'll be fine. Most places you'd use a single date parameter are unlikely to be heavy enough to worry about not skipping those calls.