Feature Order
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 50/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- frontend
研究方向
首先解決對 issue #11 的相依性,然後找到 Restaurant component 及其目前的 Pizzas list item、orders state 和 orderOne function。將這些部分抽取到 Order 中,在 Restaurant 的 ul 中使用 Order,並確認披薩仍會被渲染且 Add 仍會增加訂單數量。
由索引模型根據 Issue 內容生成。
描述
Instructions:
Extract the <li> containing "Pizzas" from the <Restaurant /> component to a new component named Order. Also, move the declaration of the orders state and the orderOne function from the <Restaurant /> component to the new <Order /> component. Use the <Order /> component in the <ul> list of the <Restaurant /> component.
Dependent on #11
Test:
- The pizza order is still rendered on the page
- Clicking on the "Add" button still increments the number of orders.
- 主要語言
- JavaScript
- 星號
- 1
- 分支
- 28
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeYourFuture/React-Module-Project 的其他 Issue
-
♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
難度 2/5 1-3 小時 新手友好度 65/100
-
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
難度 2/5 1-3 小時 新手友好度 65/100
-
🐂 Size Medium 📅 Week 3 🧩 Feature
難度 2/5 1-3 小時 新手友好度 65/100
-
🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
難度 2/5 1-3 小時 新手友好度 65/100
-
🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
難度 1/5 1 小時以內 新手友好度 68/100
查看 CodeYourFuture/React-Module-Project 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 76/100
521xueweihan/HelloGitHub#3939 ·
-
難度 1/5 1 小時以內 新手友好度 84/100
維護者通常 1 天內回覆
-
needs-website-changes
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
[Bug] critique requires the detector on native targets, but audit.native.md says it does not apply未關閉needs triage
難度 2/5 1-3 小時 新手友好度 78/100
pbakaus/impeccable#1017 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆