var todos = {}; function addTodo(item) { todo[item.id] = item; reset(); } ... 差別在於React 的資料是存在state 裡面,然後只要state 改變(意思就是資料改變),就 ...
確定! 回上一頁