title: how to enforce redux action only dispatch once?
body: <p>I am wondering how to flag redux action not dispatch the second time.</p>
  
  <pre><code>let triggerOnce = false;
  
  export function populateStore() {
    return (dispatch) =&gt; {
      if (triggerOnce) return;
  
      dispatch({
        type: ReviewActions.UPDATE_REVIEW_STATE,
        data: review,
      });
  
      triggerOnce = true;
    };
  }
  </code></pre>
  
  <p>as you can see right now i am using an external variable to flag... which is not that great. wondering if there is a better way. Thanks heaps for any suggestion</p>