Last active
November 21, 2017 14:32
-
-
Save danseethaler/d745921bebbe5f696c4a316e38d8879f to your computer and use it in GitHub Desktop.
Using the reducer registration from theforeman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { combineReducers } from 'redux'; | |
import redHatRepositories from './RedHatRepositories'; | |
import { registerReducer } from 'foremanReact/common/MountingService'; | |
const rootReducer = combineReducers({ | |
redHatRepositories, | |
}); | |
registerReducer('katello_reducers', rootReducer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment