Answer the question
In order to leave comments, you need to log in
How to merge nested reducers?
I'm trying to make the structure of the store like this
{
appName: "Вложенные редьюсеры",
fruits: {
apples: [
{ id: 0, name: "apple1", saved: true },
{ id: 1, name: "apple2", saved: true }
],
oranges: [
{ id: 0, name: "orange1", saved: true },
{ id: 1, name: "orange2", saved: true }
],
loaded: false,
saved: true
}
}
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