title: How to perform same state transitions for multiple actions in a Reducer
body: <p>I have created unique Actions for My App as per the suggestions of Mike Ryan in <a href="https://www.youtube.com/watch?v=JmnsEvoy-gY&amp;feature=youtu.be" rel="noreferrer">this video</a>
  But I have some Actions causing the same state transitions. How to achieve the same state transition without by-passing the Best Practices i.e., calling a common Action for two different events?</p>
  
  <p><strong>My Actions are</strong></p>
  
  <pre><code>export const rawSignalEditInplace = createAction(
    RawSignalsActionTypes.RAW_SIGNAL_EDIT_INPLACE,
    props&lt;{ signal: RawSignal }&gt;()
  );
  
  export const rawSignalEdit = createAction(
    RawSignalsActionTypes.RAW_SIGNAL_EDIT,
    props&lt;{ signal: RawSignal }&gt;()
  );
  </code></pre>
  
  <p><strong>My Reducer is</strong></p>
  
  <pre><code>on(rawSignalsActions.rawSignalEditInplace, (state, { signal }) =&gt; {
  return {
    ...state,
    selectedRawSignal: entitiesSelectors.selectEntities(state)[signal.id]
   };
  }),
  on(rawSignalsActions.rawSignalEdit, (state, { signal }) =&gt; ({
    ...state,
    selectedRawSignal: entitiesSelectors.selectEntities(state)[signal.id]
  })),
  </code></pre>