1.

What Is Store In Redux?

Answer»

The store holds the APPLICATION state and supplies the helper methods for accessing the state are

register listeners and dispatch actions. There is only one Store while using Redux. The store is CONFIGURED via the create Store function. The SINGLE store represents the entire state.Reducers return a state via action

export function configureStore(initialState) {

return createStore(rootReducer, initialState);

}

The root reducer is a COLLECTION of all reducers in the application.

CONST root Reducer = combineReducers({

donors: donor Reducer,

});

The store holds the application state and supplies the helper methods for accessing the state are

register listeners and dispatch actions. There is only one Store while using Redux. The store is configured via the create Store function. The single store represents the entire state.Reducers return a state via action

export function configureStore(initialState) {

return createStore(rootReducer, initialState);

}

The root reducer is a collection of all reducers in the application.

const root Reducer = combineReducers({

donors: donor Reducer,

});



Discussion

No Comment Found