---
title: "rememberNavigationEventState"
description: "Remembers and returns a NavigationEventState instance for a SceneState."
type: "composable"
lastmod: "2026-04-23T11:19:38.195766Z"
---
## API Reference

### rememberNavigationEventState

> Source set: Common

```kotlin
@Composable
public fun <T : Any> rememberNavigationEventState(
    sceneState: SceneState<T>
): NavigationEventState<SceneInfo<T>>
```

Remembers and returns a `NavigationEventState` instance for a [SceneState](/jetpack-compose/androidx.navigation3/navigation3-ui/classes/SceneState).

This composable creates and remembers a `NavigationEventState` object, which holds a
`NavigationEventHandler` internally. This is the state object that can be passed to
[NavigationBackHandler](/jetpack-compose/androidx.navigation3/navigation3-ui/composable-functions/NavigationBackHandler) (the composable) to "hoist" the state.

The state's handler info (currentInfo and backInfo) is kept in sync with the provided
[sceneState](/jetpack-compose/androidx.navigation3/navigation3-ui/classes/SceneState).

#### Parameters

| | |
| --- | --- |
| T | the type of the key in the [SceneState](/jetpack-compose/androidx.navigation3/navigation3-ui/classes/SceneState). |
| sceneState | the [SceneState](/jetpack-compose/androidx.navigation3/navigation3-ui/classes/SceneState) that this state will track. |

#### Returns

| | |
| --- | --- |
|  | a stable, remembered `NavigationEventState` instance. |
