Jetpack Compose 공식 문서를 보면 계속 나오는 문구가 있습니다.UI = f(state)처음엔 이게 무슨 소린지 몰랐습니다.‘상태를 함수에 넣으면 UI가 나온다’는 건 알겠는데, 그래서 뭐가 달라지는 건지?왜 이게 중요한지 와닿지가 않았기 때문입니다. 기존 XML + Activity 방식과 비교해 보면 이렇습니다.// XML + Activity 방식 (명령형 방식)val textView = findViewById(R.id.textView)val button = findViewById(R.id.button)button.setOnClickListener { textView.text = "클릭됨" textView.setTextColor(Color.RED) textView.visib..