Skip to content

Conversation

mantir
Copy link

@mantir mantir commented Feb 28, 2017

E.g. if you got an object with reducer functions mediaReducer = {mediaFun1: () => {}, mediaFun2: () => {}} and want to add all the functions in the object to an existing key data in the structure of the reducers: {data: {pagesFun1: () => {}, pagesFun2: () => {}}} to get {data: {pagesFun1: () => {}, pagesFun2: () => {}, mediaFun1:() => {}, mediaFun2:() => {}}} by doing: injectReducer('data', mediaReducer);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant