Ravenous: Part 1 - create-react-app did not produce a render function in App.js

https://www.codecademy.com/paths/web-development/tracks/front-end-applications-with-react/modules/ravenous-part-one/projects/create-prj-components

I assume that there have been some updates to the create-react-app command where the default App.js files gives an output like:

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.js</code> and save to reload.
        </p>
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

The project requires us to edit the “render()” method with the app component (STEP 46). However this is no longer what the command produces. I assume the project will still work when I modify the return statement, but can someone explain why there is no an “App” component with a render function in this file? Is there a particular reason? Would this file function just fine if I replaced everything with the typical static components we have created so far?