瀏覽代碼

Adding some questions

Luiserebii 2 年之前
父節點
當前提交
698e07577d
簽署人: Luiserebii <luis@serebii.io> GPG Key ID: 3B7E2D68E27CBBCF
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      fullstack-react-projects/time_tracking_app/README.md

+ 4
- 0
fullstack-react-projects/time_tracking_app/README.md 查看文件

@@ -40,6 +40,10 @@ class Timer extends React.Component {
40 40
 
41 41
 ```
42 42
 
43
+Questions:
44
+* How would deletion work? Perhaps we would call a function to delete the data in the JSON holding this info, and then refresh the app somehow? Does React do that onClick() or something? Do we call a refresh function?
45
+* What about editing; I'm thinking we hide this and then render the EditingTimer Component, something like that.
46
+* Wait, darn, props should be everything but the isButtonStarted, right...? Exactly how does this interact again? Should state be set to the info passed down by default?
43 47
 
44 48
 ### Running the app
45 49
 

Loading…
取消
儲存