Bumping kotlin from `2.3.21 -> 2.4.0` brakes my (n...
# compose-android
a
Bumping kotlin from
2.3.21 -> 2.4.0
brakes my (nested) navigation. I attached debugger and there was continuous recomposition due to which navigation struggled. Navigating to a new route will always return me back to the initial tab. I have checked release notes and I can't seem to point out any breaking changes that can cause this. Downgrading fixes the navigation. Is there something I need to know or check on why it breaks the navigation?
A rough structure of the code I have is
Copy code
fun NavGraphBuilder.quickSearchRoute(
  externalGraph: NavGraphBuilder.(navController: NavController),
) {
  compose<Route>() {
    NavHost(startDestination) {
      compose<InnerRouteA> {…}
      compose<InnerRouteB> {…}
      // InnerRouteC
      externalGraph(nestedNavController)
    }
  }
}
And
Route
continuously recomposes on
2.4.0
s
Might be https://issuetracker.google.com/522127447 Please file a bug if you find a shareable repro