Extract all forms into their own component
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
まずページレベルのフォームとその form.setValues 呼び出しを見つけ、次に独自のコンポーネントにすべき各フォームを特定します。取得したデータをそれらのコンポーネントに渡し、props から initialValues を設定します。完了の条件は、抽出したすべてのフォームで編集内容が form.isDirty に正しく反映されることです。
索引モデルが issue の本文から書いたものです。
説明
Right now we have forms directly on the page, and we update the form fields by a call to form.setValues. This is problematic, as it makes form.isDirty not work correctly, as it only returns true if a field has been edited and is different from its initialValue.
The solution is to extract each form into a component. We can then in the parent component fetch the data and then pass the data as props, e.g. <GigForm gig={gig} />. We can then in the form component set the initialValues directly to the passed data.
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 1
- 平均マージ
- 1分
- マージ済み PR(30日)
- 12
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeyBoi/appendix3 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
-
🙆/🙅 for balletenオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
CodeyBoi/appendix3 の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
supabase/agent-skills#611 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
polka-codes/test#345 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
GoogleChromeLabs/project-sesame#217 ·
メンテナーはふだん 12 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
solana-foundation/solana-com#2202 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100