erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12k stars 2.5k forks source link

Why is reducer inside modules? #1278

Open bearcott opened 8 years ago

bearcott commented 8 years ago

So this seem weird to me. Typically you would put reducer inside the root directory of redux since it essentially combines the reducers. Why is it put inside modules with the rest of the reducers?

bertho-zero commented 8 years ago

I agree, I put reduce.js a higher level : https://github.com/bertho-zero/react-redux-universal-hot-example/tree/master/src/redux