title: React Router v4: <Route> component unable to match urls with question marks
body: <p>I'm using a React.js app as a widget inside a Wordpress admin area. The way some users configure wordpress urls can use query parameters to set the page view, for example:</p>
  
  <pre><code>domain.com/wpFolder/wp-admin/options-general.php?page=settingspage
  </code></pre>
  
  <p>I want to be able to set my Links and Routes to conform to this structure so that page reloads don't break. I am unable to do this, adding slashes/subfolders is fine but the moment I add <code>?</code> the <code>&lt;Route /&gt;</code> no longer matches. Example:</p>
  
  <pre><code>      &lt;StyledMaterialLink // This is a &lt;Link /&gt; wrapped by Styled Components
          component={RouterLink}
          to={`/wptest2/wp-admin/options-general.php?`}&gt; 
          &lt;Tab
            label="See Current Coupons"
            value={seeCurrentCoupons}
            onClick={() =&gt; {
              console.log(location.href, `=====location.href=====`); 
              setAdminView(seeCurrentCoupons)
            }}
          /&gt;
      &lt;/StyledMaterialLink&gt;
  
      &lt;Route
        path={`/wptest2/wp-admin/options-general.php?`}
        render={props =&gt; {
  
          return (
            &lt;CurrentCouponChannel.Provider
              value={state.currentCouponsAndTargets}&gt;
              &lt;ViewCoupons /&gt;
            &lt;/CurrentCouponChannel.Provider&gt;
          )
        }}
      /&gt;
  </code></pre>
  
  <p>Eventually I would like the <code>&lt;Route path /&gt;</code> above to end with &amp;section=view-coupons as well. </p>
  
  <p>Is it possible to hardcode query string params this way to work after reloading with my framework?</p>