Type checking nested navigator is missing StackParamList definition and usage

オープン 初心者向け
#1,118 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
react, react-native, typescript

調査の方向性

versioned_docs/version-6.x/typescript.md を開き、ページに示されている stack 構造と併せて Nesting Navigators セクションを読んでください。欠落している StackParamList の定義とその使用方法を追加し、ネストされた例が周囲の例と一貫し、推測しなくても理解できるようにしてください。

索引モデルが issue の本文から書いたものです。

説明

In the Nesting Navigators guide, the example given does not work with the stack structure provided in the page (which is not nested to begin with). I believe the author is implying a different nested stack (since the example is using StackParamList instead of RootStackParamList), but the definition for the StackParamList is not provided, confusing the reader into thinking it's the same as the RootStackParamList.

The definition of StackParamList and its usage should provided to give context to the nested examples.

主要言語
JavaScript
スター
324
フォーク
2k
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

react-navigation/react-navigation.github.io のほかの issue

react-navigation/react-navigation.github.io の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。