react-navigation / react-navigation/react-navigation.github.io

Convert v5.x.x samples to typescript in documentation

オープン
#751 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@jarvisluong がすでに取り組んでいます。

2020年4月17日 から。

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

説明

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

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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