react-navigation / react-navigation/react-navigation.github.io
Convert v5.x.x samples to typescript in documentation
@jarvisluong ci sta già lavorando.
Dal 17/4/2020.
- Lingua principale
- JavaScript
- Stelle
- 324
- Fork
- 2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Current Behavior
react-navigation v5.x.x has written in typescript but documentation samples are based on javascript. in some cases it's hard to guess what type must be used
for example, I don't know what type I should use for creating the navigationRef in this documentation
having the examples in typescript language would be a great help (especially for those like me that working with previous versions of react-navigation and going to migrate their codes, there are a lot of changes in both libraries and types and it's hard to find at least for me.)
Expected Behavior
having documentation examples in typescript language. (or even having a switch button in code sections to switch between typescript and javascript examples)
How to reproduce
just review the documentation website :)
Your Environment
I think it does not really matter for the feature request.
| software | version |
|---|---|
| iOS or Android | |
| @react-navigation/native | |
| react-native | |
| expo | |
| node | |
| npm or yarn |
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.