svelte-redux icon indicating copy to clipboard operation
svelte-redux copied to clipboard

Feature Request: combine reducers

Open rodryquintero opened this issue 5 years ago • 0 comments

I was wondering if you were thinking of implementing the combineReducers feature of Redux.

rootReducer = combineReducers({potato: potatoReducer, tomato: tomatoReducer})
// This would produce the following state object
{
  potato: {
    // ... potatoes, and other state managed by the potatoReducer ...
  },
  tomato: {
    // ... tomatoes, and other state managed by the tomatoReducer, maybe some nice sauce? ...
  }
}
``

rodryquintero avatar May 05 '19 12:05 rodryquintero