Your todo functions are generally really good. One thing you might want to look at is whether you can avoid changing the newTodo object that is passed into the addTodos function, to help keep the functions pure (and easy to test). Can you find a way to clone it?
Your todo functions are generally really good. One thing you might want to look at is whether you can avoid changing the newTodo object that is passed into the addTodos function, to help keep the functions pure (and easy to test). Can you find a way to clone it?