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

Documentation for blocking navigation actions like back

Open
#368 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://reactnavigation.org/docs/en/routers.html#blocking-navigation-actions - this is pretty barebones. One use case that came up was to fire a query when the user presses back and only complete that when the query is complete and the result matches some criteria. These docs don't say how to handle async

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 with the routers documentation at the linked blocking-navigation-actions section and review its existing explanation. Expand the page to explain how to handle an asynchronous query triggered by a back action and how completion depends on the result meeting criteria; done means this use case and async behavior are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, react-native
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.