title: How can I configure create-react-app to create an app with classes and not functions?
body: <p>I am following a YouTube tutorial in order to learn React, but I noticed something annoying. When I create a new app with create-react-app, the app.js is using a <code>function App()</code>, and not a class. I know React can be coded both ways, but I would like to work with classes. Is there any way I can configure create-react-app to create a React app with classes? Something like adding an argument on the CLI, or maybe change an option on a setup page (I couldn't find any).</p>
  
  <pre><code>function App() {}
  </code></pre>
  
  <p>What I want:</p>
  
  <pre><code>class App extends Component {}
  </code></pre>