I think if you want to use the second, you would need to say someState = someState.copy(two = true), or something like that. I believe x by remember will redraw only when the object is directly assigned, not when the states within it are updated.
1 year ago
Thanks! You’re correct, didn’t realise a change to