Question d’entretien chez Clear Dynamics

What do you know about Functional and Class components.

Réponse à la question d'entretien

Utilisateur anonyme

23 juin 2022

You can achieve the same result with both styles of components,. Class was the original way to create components but there has been a shift to Functional in the last few years as it requires less code to write and to me makes more sense, you can achieve the same functionality as Class components by using Hooks.