anza-xyz / anza-xyz/kit

Docs: update react / reactive store guides to use twoslash examples

未關閉
#1,783 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
695
分支
210
平均合併
21 小時 33 分鐘
30 天內合併 PR
90

描述

The docs PRs for the react stack (https://github.com/anza-xyz/kit/pull/1779, https://github.com/anza-xyz/kit/pull/1782) currently use ` ```ts` for their examples. This is not typechecked in the same way as `ts twoslash` and does not support the nice cut before syntax.

This is because docs uses a published Kit version, and we haven't yet published a version with the new code/changes.

When we do, and we update docs to 7.x, we should do a quick sweep and move most of these to `ts twoslash`.

貢獻指南

開啟貢獻指南

研究方向

Start with the documentation changes in PRs 1779 and 1782, and check that the published Kit 7.x version is available before beginning. Sweep the react and reactive store guides for the affected TypeScript examples; done means most applicable examples use ts twoslash and support the intended cut-before syntax.

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

評估

技術堆疊
typescript
領域
documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
58/100

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

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