title: How to use Compose inside Fragment?
body: <p>The documentation describes how to create UI <a href="https://developer.android.com/jetpack/compose" rel="nofollow noreferrer">Jetpack Compose</a> inside Activity.</p>
  <pre><code>class MainActivity : AppCompatActivity() {
  override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContent {
          Text(&quot;Hello world!&quot;)
      }
    }
  }
  </code></pre>
  <p>But how can I use it inside fragment?</p>