title: React - Preference: function component vs class component
body: <p>Are class components being abandoned?</p>
  
  <p>I see that in several libraries examples have function components as a priority.</p>
  
  <p>Especially React Navigation.</p>
  
  <p>Likewise, React itself with Hooks only makes them available for function components.</p>
  
  <p>The main question is: Why are function components being so prioritized?</p>