carbaj0
05/15/2021, 11:40 AMdiesieben07
05/15/2021, 11:57 AMA
of Reducer
an in A
your TodoReducer
still says: "I want a TodoListAction
. But Reducer<TodosState, TodoAction>
says "I want a TodoAction". So if that assignment was allowed, your TodoReducer
could receive something that is a TodoAction
, but not a TodoListAction
, and thus the assignment is not validcarbaj0
05/15/2021, 12:31 PM