Answer the question
In order to leave comments, you need to log in
How to change the state of a specific item in the Store?
There is a store with the following content:
{routingTasks: {
taskData: {
message: "Успешно",
infoTask: {
0: {
ID: "ZX001",
TIME: "15.06.2020 12:20",
ROUTE: null,
}
1: {...},
2: {...},
}
}
}
}
const tasksData = handleActions({
[setActionRequest.toString()]: (state, action) => ({
...state,
ROUTE: action.payload,
}),
},
null,
);
{ID: "ZX052",
ROUTE: "VASYA",}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question