title: Meaning of .html in react-router paths
body: <p>I am maintaining a React project in which the route paths have <code>.html</code> at the end.</p>
  
  <pre><code>&lt;Route name="courses" path="/courses.html"  addHandlerKey={true} handler={CourseIndexPage} /&gt;
  &lt;Route name="students" path="/students.html" addHandlerKey={true}  handler={StudentIndexPage} /&gt;
  </code></pre>
  
  <p>I need to add pages for single records and would like to have paths like this:</p>
  
  <pre><code>/courses/:courseId
  /students/:studentId
  </code></pre>
  
  <p>If I remove the <code>.html</code> from the path my gulp build fails, because the <code>courses.html</code> and <code>students.html</code> files don't get generated in my <code>dist</code> folder.</p>
  
  <p>Can someone please point me in the right direction concerning <strong>what the <code>.html</code> is doing</strong> and if there is a way to remove it? Perhaps a setting in <code>react-router</code>.   </p>
  
  <p>Is <code>.html</code> part of a methodology with react-router I can read up on?</p>
  
  <hr>
  
  <p>UPDATE:<br>
  I think the paths look like that because this app is using server-side routing. There is a line in a <code>server.js</code> file which says <code>app.use(express.static('target/dist'));</code> which means that the pages are served from there.  </p>
  
  <p>I am still wondering how I would pass the ID to a new route with <code>.html</code>. Would something like <code>path="/students.html?id={id}</code> work? It seems awkward.</p>