Popular repositories Loading
-
-
-
-
AC-todoList
AC-todoList Public1.當使用者點擊icon 時,觸發 onClick 綁定的事件處理函數onDelete 2.事件綁定TodoItem 中的 button 3.通過props將事件處理函數由父層傳遞給子層元件,將todo.id資料傳遞回onDelete進行處理 4.根據state的變化,React 檢測通過 setTodos 更新todos 的值,就重新渲染畫面
JavaScript
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.