title: get data after a dispatch from store
body: <p>I want to get my store data after an async dispatch in a components mount any idea how can I have the data I want?</p>
  
  <p>my code</p>
  
  <pre><code>import React from "react";
  import Page from "./Page";
  import CheckDetail from "./CheckDetail";
  import Header from "./Header";
  import { connect } from "react-redux";
  import { startSetSymlinkCheck } from "../actions/checks";
  
  class Symlink extends React.Component {
      componentDidMount() {
          console.log(this.props.match.params.token);
              this.props.startSetSymlinkCheck(this.props.match.params.token).then(res =&gt; {
                console.log(this.props.getCheckId);
          });
      }
  
      render() {
          return (
              &lt;div className="route-container"&gt;
                  &lt;Header /&gt;
                  &lt;div className="page"&gt;
                      {/* &lt;CheckDetail id={this.props.match.params.id} /&gt; */}
                  &lt;/div&gt;
            &lt;/div&gt;
          );
      }
  }
  
  
  const mapDispatchToProps = dispatch =&gt; ({
        startSetSymlinkCheck: token =&gt; dispatch(startSetSymlinkCheck(token))
  });
  
  export default connect(
      undefined,
      mapDispatchToProps
  )(Symlink);
  </code></pre>
  
  <p>i want to get data after this.props.startSetSymlinkCheck finished and pass it to checkDetail</p>