The filtered array will be updated by setTodos as a new todo list. Pass the onRemove function to TodoList component through props . <TodoList todos= ...
確定! 回上一頁