react-navigation / react-navigation/react-navigation.github.io
Documentation missing for canGoBack()
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 324
- フォーク
- 2k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Current Behavior
According to @satya164 in react-navigation/react-navigation#7814 we should use canGoBack() to guard against going back too much. If we don't, it'll result in a console.error() being emitted (red screen).
canGoBack is an undocumented feature. It's only mentioned in passing in the 'upgrading from 3.x' article where it's mentioned as a feature on the HeaderBackButton, however the function is (also?) available on the navigator object.
Expected Behavior
Typing "canGoBack" in search field in the documentation should yield this result.
How to reproduce
- Open https://reactnavigation.org/docs
- Type "canGoBack" in upper right search field
** Other comments **
It may make sense to reference the new documentation for canGoBack() in relation to goBack(), pop(), jumpTo(), and popToTop().
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、ドキュメントで canGoBack()、goBack()、pop()、jumpTo()、popToTop() への既存の参照を検索します。canGoBack() について、利用可能であることとガードする目的を説明し、関連するナビゲーションメソッドへのリンクを含む、検索可能な項目を追加します。完了条件は、ドキュメントで canGoBack を検索すると新しい説明が返されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react, react-native
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100