dimsuz
07/13/2021, 5:19 PMvalue
) class, can I mark it as @Immutable
? Will this property transfer to the wrapped class and be understood accordingly by the Compose runtime later on?jim
07/13/2021, 5:22 PMdimsuz
07/13/2021, 5:40 PM@Immutable
data class UserList(val users: Map<UserId, User>)
to this
@Immutable
value class UserList(val users: Map<UserId, User>)
?
(or substitute Map for any effectively immutable custom data class
which I know won't be mutated, only copy-ed)