Today i updated my node, npm and create-react-app version and now everytime i create a new app, the App.js doesn't come with Component, its just creates a function as you can see below.
function App() {
return (
<div className="App">
</div>
);
}
before it was
class App extends Component {
render() {
return <div />;
}
}
Did things changed in the 3.0.0 create-react-app version?
Nodejs version: v10.15.3
Npm version: 6.4.1