title: React routing with names instead of ids
body: <p>In my React application, I'd like to be able to navigate to sub-pages of my domain using the <code>name</code> property of my entity, rather than its <code>id</code>.</p>
  <p>For example:</p>
  <p><strong>Now:</strong> <code>https://.../companies/1</code></p>
  <p><strong>Desired:</strong> <code>https://.../companies/company-name</code></p>
  <p>The problem that I am trying to deal with is that with the first approach, I can easily fetch the company object from my backend, since I can simply use the passed <code>id</code> for that. However, for the second case, that is not anymore possible. Of course, I could create a method that fetches the company by <code>name</code> instead of <code>id</code> but that is neither elegant nor completely correct, considering that for some company names (e.g. those with spaces), the url parameter will be encoded, thus will not match with the original one.</p>
  <p>Is there a smart way to achieve the desired outcome without storing some kind of mapping for ALL the potential company-urls in my Redux store? (e.g. <code>company1 -&gt; 1</code>, <code>company2 -&gt; 2</code>)</p>