react-navigation / react-navigation/react-navigation.github.io
Type checking nested navigator is missing StackParamList definition and usage
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- JavaScript
- Estrelas
- 324
- Forks
- 2k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Abra versioned_docs/version-6.x/typescript.md e leia a seção Nesting Navigators juntamente com a estrutura de stack mostrada na página. Adicione a definição ausente de StackParamList e seu uso para que o exemplo aninhado seja consistente com o exemplo ao redor e compreensível sem precisar fazer suposições.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- react, react-native, typescript
- Domínio
- documentation, mobile-dev
- Tipo de issue
- Documentação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 72/100