title: react.js set default route
body: <p>I have this piece of code in my <code>index.js</code> :</p>
  
  <pre><code>const routing = (
  &lt;Router&gt;
      &lt;Switch&gt;
          &lt;Route exact path="/"&gt;
              &lt;Redirect to="/a" /&gt;
          &lt;/Route&gt;
          &lt;Route path="/a" component={A} /&gt;
          &lt;Route path="/b" component={B} /&gt;
          &lt;Route path="/c" component={C} /&gt;
      &lt;/Switch&gt;
  &lt;/Router&gt;
  )
  </code></pre>
  
  <p>It directly lands on <code>/a</code> and I can go to <code>/b</code> and <code>/c</code> too.</p>
  
  <p>If I try to go to '/something' it renders nothing, as component for that path is not defined.</p>
  
  <p>What I want to achieve is, I don't want to give access to '/something', although it gives nothing, renders nothing. <strong>I want if someone try to access '/something', he will automatically be redirected to '/default'.</strong></p>
  
  <p>Is it possible ?</p>