debugging issues with combineReducers etc. can be tricky because it's not immediately obvious where the problematic reducer was created. I need to figure out the best way to ease debugging in this case. One idea is to store a stack trace when combineReducers etc. is called (as long as process.env.NODE_ENV !== 'production', and if applying the reducer throws an error, include the creation stack trace in that error somehow.
debugging issues with
combineReducersetc. can be tricky because it's not immediately obvious where the problematic reducer was created. I need to figure out the best way to ease debugging in this case. One idea is to store a stack trace whencombineReducersetc. is called (as long asprocess.env.NODE_ENV !== 'production', and if applying the reducer throws an error, include the creation stack trace in that error somehow.