Now (since early this year) when you bootstrap a React app with Create React App, it now generates a function component rather than a class component:
function App() {
// ...
}
I'm wondering why they didn't instead use an arrow function component, given ES6 arrow functions have been out for a while, plus you don't have to bind this
:
const App() => {
// ...
};
Are there any notable disadvantages to using an arrow function component instead that might've led them to make that decision, or was it simply that that syntax is more familiar?