Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Mistake in the linking docs

未關閉
#890 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
38/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, react-native
領域
documentation

研究方向

從連結的「Serializing and parsing params」文件區段開始,並比較 chat/:date 路徑與所示的 at 狀態參數。完成的標準是範例在內部保持一致,且文件清楚說明路徑參數是否可以對應到名稱不同的狀態參數。

由索引模型根據 Issue 內容生成。

描述

In the section Serializing and parsing params the example tries to achieve the following state

const state = {
  routes: [
    {
      name: 'Chat',
      params: { at: 1589842744264 },
    },
  ];
}

with the param named at.
But the path to it being chat/:date.

Meaning the resulting route param would be

params: {date: 1589842744264}

This needs fixing, and also I'm missing an option in renaming the state params from the path params.
As in this example we want to map chat/:date to at param.

主要語言
JavaScript
星號
324
分支
2k
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

react-navigation/react-navigation.github.io 的其他 Issue

查看 react-navigation/react-navigation.github.io 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。