title: My ngrx reducer only receives a `@ngrx/store/init` action
body: <p>I'm working on an e-commerce Angular 6 app using ngrx store (plus the router, router-store and effects modules).</p>
  
  <p>This is my first experience with ngrx, and so far, everything has been going rather smoothly: I have developed several ngrx feature, each one with their respective State and reducer, effects, models and actions.</p>
  
  <p>Only this time, I cannot figure out what I have done wrong. For my last feature, it looks like none of the actions are going through its reducer. The only action it catches is one that has type '@ngrx/store/init'.</p>
  
  <p>Here's the reducer code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export function reducer(state = initialState, action: ItemCategoryActions): State {
    console.warn('item-category', action.type);
    switch (action.type) {
      case ItemCategoryActionTypes.LoadItemCategories: {
        return state;
      }
  
      case ItemCategoryActionTypes.LoadItemCategoriesComplete: {
        return { categories: (&lt;LoadItemCategoriesComplete&gt;action).payload.items};
      }
  
      default:
        return state;
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I will not reproduce all my code here, as it is your typical ngrx boilerplate, but let me assure you that I have added the reducer to the root reducer map, that I have imported the effects, and that I have made sure that the actions are properly typed, etc.</p>
  
  <p>The log trace of running my code is given below:</p>
  
  <p><a href="https://i.stack.imgur.com/GkKyE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GkKyE.png" alt="enter image description here"></a></p>
  
  <p>As you can see, the only reducer that catches the @ngrx/store/init action is my new <code>item-category</code> reducer, and it doesn't catch any other action.</p>
  
  <p>All my other reducers are working as expected.</p>
  
  <p>At this point, I have run out of hypotheses, so any clues as to how to debug this puzzle will be appreciated.</p>