Why is it so difficult to modify a deeply nested state in React? It’s not uncommon to see a code like that in React world. All this effort just to update a single to-do item inside a nested state. const updateTodo = ({taskId, todoId, value}) => { setProject({ tasks: { …state.tasks, [taskId]: { …state.tasks[taskId], todos:…

Read More