I have a rather naive question purely out of curiosity :)
Why does Compose make the reactive system so “complex”? Instead, couldn’t the Compose compiler analyze all composable functions that call
state
at compile time and records them, followed by inserting logic to update these composables after the corresponding “state operation”? Wouldn’t this approach effectively reduce the runtime overhead associated with recomposition?