Component is a pure interface. Which makes Compose think it is unstable when put it as parameter.
Another issue is calling component function from lambda (e.g. onClick = { component.handleId(id) }. I found that I need do some extra remember wrapper, or it can't skip recomposition when state changed.