ribesg
03/01/2024, 2:12 PMderivedStateOf
vs computing every refresh? How much calculation is a lot in a composable?Stylianos Gakis
03/01/2024, 2:17 PMribesg
03/01/2024, 2:24 PMdistinct
.
In my case I was just implementing a template String of the quite-big kind (with dozens of variables) and was wondering what the correct way of handling that was: a big remember with a lot of keys, or maybe something else I didn't really understand like derivedStateOf, or maybe nothing and computing that String isn't that heavy