title: is it considered good practice to pass callBacks to redux async action?
body: <p>I want to show different notification bars for success/error responses,
  I pass two callBacks to an redux async action in my react component like this:</p>
  
  <pre><code>&lt;Button
    onClick={e =&gt; this.props.actions.asyncAction(item, this.showSuccessBar, this.showErrorBar)}
  /&gt;
  </code></pre>
  
  <p>where asyncAction looks like this: </p>
  
  <pre><code>export function asyncAction(item, successCallback, errorCallback) {
    return (dispatch, getState) =&gt; {
      dispatch(requestItem(item));
      return fetch("api.some_url/items/item")
        .then(response =&gt; response.json())
        .then(json =&gt; {
          if (json.success) {
            dispatch(receivePostsSuccess(reddit, json));
            successCallback();
          } else {
            dispatch(receivePostsFail(reddit, json));
            errorCallback();
          }
        });
      }
    };
  }
  </code></pre>
  
  <p>Is this considered against the pattern? 
  in other words, Should Notification Bars open according to the state change instead of callBacks?</p>