title: Advantages of dynamic vs static routing in React
body: <p>I'm reading about <a href="https://reacttraining.com/react-router/web/guides/philosophy" rel="noreferrer">static vs dynamic routing</a> in React Router, and I'm struggling to identify the advantages of the latter (and why v4 chose to go with it). I can see the advantage of listing out all the routes for an application (static), as well as the component that each route maps to, allowing you to trace what would be rendered given a specific URL. But I'm not seeing any clear advantage to dynamic routes.</p>
  
  <p>If anything, I can only see disadvantages, because there is no clear way to see what state a URL will map to, without starting at the root app element and working your way through the routes (though I might be mistaken). </p>
  
  <p>What situations does dynamic routing address? Why is it preferable to static routing (maybe specifically in React apps)?</p>