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.

Combine reducers using provided method by redux

See original GitHub issue

I wanted to ask on why you aren’t using the defined method combineReducers from redux to combine all your reducers to a single one within index.js?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
YurySolovyovcommented, Mar 26, 2017

Just curious on why you didn’t use combineReducers from the beginning.

I think @KeitIG started with Flux, and then we moved to Redux

Your current solution feels more of a hack tbh. Don’t take this offensively 😃

It is, though it works. No offence taken 😃

1reaction
YurySolovyovcommented, Mar 26, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

combineReducers(reducers) - Redux
This function helps you organize your reducers to manage their own slices of state, similar to how you would have different Flux Stores...
Read more >
How to use combineReducers() In Redux and React
In this exercise, we'll use combineReducers() of the redux library which combines multiple reducers into a single reducer.
Read more >
Combine reducers in a React / Redux application
The way we combine reducers is simple, we create one file per reducer in the reducers directory. We also create a file called...
Read more >
Redux Toolkit Tutorial - 12 - Combine Reducers - YouTube
Redux Toolkit Tutorial - 12 - Combine Reducers ... Business - codevolution.business@gmail.com Combine Reducers in Redux ...
Read more >
Combine reducers in Redux | React Redux Tutorial - #5
Hi there, In this video we're going to combine two reducers. Using more then one reducer provides us different functionalities and each of ......
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