G
G
Gimir2020-11-23 13:49:50
React
Gimir, 2020-11-23 13:49:50

How to connect two reducers so that they are on the same level?

Good afternoon! Such a problem, we are finalizing one project, a reducer is imported from another project and a store is created already in this project. These two projects are connected, it's just that there is no way to edit the second one, from which this reducer is taken. This blocks the ability to use the redax in the project I'm working on, because when I try to connect my reducer and a reducer from another project, nesting appears. Due to an error nesting, from another project, of type undefined, it was not possible to find one or another property of undefined...

редюсер_из_другого_проекта: редюсер,
мой_редюсер: редюсер

The question is, is it possible to combine these two reducers so that there is no nesting that combineReducers creates?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question