airbnb / airbnb/native-navigation

[Request] Get current state

Open
#108 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.1k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

It would be helpful to have something like

Navigator.status()

to retrieve the current Navigation state

Also, is there currently a way to retrieve the initial Route when reloading? It doesn't seem like onAppear/onEnterTransitionComplete events are fired. Don't know if that's a bug or by design.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Navigator API around the proposed Navigator.status() entry point and the onAppear/onEnterTransitionComplete events. Determine how current Navigation state and the initial Route on reload are exposed, then confirm that the behavior is defined for both normal navigation and reloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.