title: How can I Redirect to the same path?
body: <p>When I use <code>&lt;Redirect to="&lt;same_path&gt;" /&gt;</code> I get a warning: <code>Warning: You tried to redirect to the same route you're currently on: "&lt;path&gt;"</code>.  </p>
  
  <p>In my Component I open an other Component thats asking for a submit or cancel. </p>
  
  <p>When the users presses submit an action will be launched and after the action the users has to be redirected to the same Component. So actually, the Component, where the user has to answer the question, will be closed and the Component where Route is at will be reloaded.</p>
  
  <p>I tried <code>this.props.history.push(&lt;path&gt;);</code> as well.</p>
  
  <p>Function what will update the state:</p>
  
  <pre><code>let redirectionLink = "/" + this.props.path;
  this.setState({redirectTo: redirectionLink});
  </code></pre>
  
  <p>In my render:</p>
  
  <pre><code>render() {
      if (this.state.redirectTo !== false) {
          return &lt;Redirect to={this.state.redirectTo} /&gt;
      }
  }
  </code></pre>
  
  <p>What I expect it should do is that it just redirects to the gived path. But I get the Warning instead.</p>