Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I originally tried this but then discovered combineReducers() this will allow you to organise your reducers into a single import. I found it a more sane way to organise all of my reducers, as the majority of them were small. Here's a link for API http://redux.js.org/docs/api/combineReducers.html


That would combine your reducers into one. I believe he was referring to putting action creators in the same file as their associated reducers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: