Convert v5.x.x samples to typescript in documentation
@jarvisluong 已經在處理了。
開始於 2020年4月17日。
評估
這個 Issue 還沒有評估資料。
描述
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 |
- 主要語言
- JavaScript
- 星號
- 324
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
react-navigation/react-navigation.github.io 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 94/100
react-navigation/react-navigation.github.io#1516 · 1 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 1/5 1 小時以內 新手友好度 72/100
-
難度 1/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 72/100
查看 react-navigation/react-navigation.github.io 的全部 Issue
相似的 Issue
-
bug confirmed issue
難度 2/5 1-3 小時 新手友好度 75/100
open-webui/open-webui#30750 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
Mend: dependency security vulnerability untriaged
難度 2/5 1-3 小時 新手友好度 70/100