Why doesn't combineReducer?

When using conbineReduser the application does not receive data from the store. Without conbineReduser everything worked fine. Here is a link to the sandbox https://codesandbox.io/s/qx3w4nq5r6
March 20th 20 at 11:31
1 answer
March 20th 20 at 11:33
1. You export from search-reducer reducer function and import try as search. Good, export the default value:
export default function reducer(state = {}, action) {

and import:

import search from "./search-reducer";

2. Note that the structure of your repository changes and the application will need to make appropriate changes.

3. In reduser is good, to transfer the initial state:
const initialState = {
 value: "",
 works: [],

export default function search(state = initialState, action) {
Thank you very much) - tate_Ziema commented on March 20th 20 at 11:36

Find more questions by tags ReactRedux