react-navigation / react-navigation/react-navigation.github.io

Platform dependent navigation

Open
#437 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
324
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying to find a good way to manage both iPhone and iPad navigation which scales as app gets bigger. Some requirements potentially being if iPhone push next screen, but on iPad present as a formsheet. Before I would normally achieve this using the Coordinator pattern, which basically allows screens to delegate the action back to a container. I would love to do something similar with React Navigation but struggling to find a way that feels right and not hacked together.

https://myguysi.com/navigation-coordinators-in-react-native (someone else's attempt to achieve similar)

https://www.hackingwithswift.com/articles/71/how-to-use-the-coordinator-pattern-in-ios-apps

Contributor guide

No contributing guide indexed for this repository

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 reviewing the issue and its linked React Native coordinator examples. Determine whether the documentation should explain a supported pattern for platform-dependent navigation, including push navigation on iPhone and form-sheet presentation on iPad. Done means a clear, maintainable recommendation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
documentation, mobile-dev
Issue type
Documentation
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.