react-navigation / react-navigation/react-navigation

Add the ability to listen to all events from the NavigationContainerRef

Open
#9,140 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
24.5k
Forks
5.1k
Avg merge
1d 5h
Merged PRs (30d)
18

Description

Currently, there's no way to listen to all events from the NavigationContainerRef. You need to specify which event you need to be listening to. Having this ability would be useful for developer tools.

cc @satya164

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the NavigationContainerRef entry point and its existing event-listening API. Trace how event names are currently required, then define what an all-events subscription should expose for developer tools. Done means callers can listen without specifying an individual event while existing event subscriptions continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
api, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.