Observable.switchMap doesn't work and doesn't have any errors
<p>I'm facing a bug(?) when using ngrx.store and states.</p>

<p>After I dispach for new state and the reducer returns the new state <strong>nothing heppends</strong> . The subscribe doesn't get any error massages.
<strong>If I remove switchMap, The code works</strong> and the subscriber get the values he shoud get.</p>

<p>I minimized my code as little as I could:</p>

<pre><code>public a$:Observable&lt;any&gt;;
  constructor(private _userService:UserService, private _store:Store&lt;any&gt;)
  {
    this.a$=this._store
      .select(state=&gt;state)
      .switchMap(state=&gt;
      {
        return Observable.from(["1"]); //for simplicity.
      });
    this.a$.subscribe(
      something=&gt;{
        console.log(something);
      },
      error=&gt;{
        console.log(error);
      }
    );
  }
</code></pre>

<p>My reducer:</p>

<pre><code>export const connectedUserReducer = (state = initialState, action:Action) =&gt;
{
  if(action==null || action.type==null)
    return state;
  switch (action.type) {
    case updateConnectedUser:
      return Object.assign({},state);  &lt;&lt;&lt;-- It comes here and then nothing  heppends.&lt;&lt;--
    default:
      return state;
  }
};
</code></pre>

<p>I did import switchMap as: "import 'rxjs/add/operator/switchMap';"</p>