Frage im Vorstellungsgespräch bei Crediwatch

What is the difference between functional components and class components?