Skip to content

Instantly share code, notes, and snippets.

@danseethaler
Last active November 21, 2017 14:32
Show Gist options
  • Save danseethaler/d745921bebbe5f696c4a316e38d8879f to your computer and use it in GitHub Desktop.
Save danseethaler/d745921bebbe5f696c4a316e38d8879f to your computer and use it in GitHub Desktop.
Using the reducer registration from theforeman
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