title: Prevent LaunchedEffect from re-running on configuration change
body: <p>I want to run the code only once when the composable is loaded. So I am using LaunchedEffect with key as true to achieve this.</p>
  <pre><code>LaunchedEffect(true) {
      // do API call
  }
  </code></pre>
  <p>This code is working fine but whenever there is any configuration change like screen rotation this code is executed again. How can I prevent it from running again in case of configuration change?</p>