react-navigation / react-navigation/react-navigation.github.io
Type checking nested navigator is missing StackParamList definition and usage
Personne n'a encore pris cette issue.
- Langage dominant
- JavaScript
- Étoiles
- 324
- Forks
- 2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Ouvrez versioned_docs/version-6.x/typescript.md et lisez la section Nesting Navigators en parallèle de la structure de stack présentée sur la page. Ajoutez la définition manquante de StackParamList et son utilisation afin que l’exemple imbriqué soit cohérent avec l’exemple environnant et compréhensible sans devoir deviner.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, react-native, typescript
- Domaine
- documentation, mobile-dev
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 72/100