question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is this package the same as combineReducers?

See original GitHub issue

Could you tell me if this package is the same as using the combineReducers function form the redux package? If not, would you mind explaining the difference?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sohaibfarooqicommented, Jul 2, 2017

This SO also explains the difference between combineReducer and reduceReducer

2reactions
chellbergcommented, Jan 19, 2017

I was directed here by discussion mentioning this as a tool for updating dependent state across different branches of the state tree, and after staring at the code sample in the README I figured out what this is doing, but I agree that it’s not very clear from the description.

Originally created to combine multiple Redux reducers that correspond to different actions

sounds a lot like combineReducers, and “correspond to different actions” doesn’t do much to clarify things. It’d be great if “dependent state” was somewhere in the readme.

Read more comments on GitHub >

github_iconTop Results From Across the Web

combineReducers(reducers)
The combineReducers helper function turns an object whose values are different reducing functions into a single reducing function you can pass ...
Read more >
Taking Advantage of combineReducers
Let's see how we can take advantage of combineReducers to simplify our code. ... Here's the entire reducer file from the same Async...
Read more >
reactjs - why can't I export 'combineReducers' (imported as ...
As a comment pointed out: the combineReducers function is part of either the @reduxjs/toolkit or redux packages, because it's about the ...
Read more >
A concern on combineReducer, when an action is related ...
Whether this is good or bad depends on your app. In my experience having many stores (or Redux reducers) handling the same action...
Read more >
react-combine-reducers
react-combine-reducers. 1.1.1 • Public • Published 2 years ago. Readme · Code Beta · 1 Dependency · 4 Dependents · 6 Versions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found