employer cover photo
employer logo
employer logo

Moveinsync Technology Solutions

Est-ce votre entreprise ?

Question d’entretien chez Moveinsync Technology Solutions

Difference between props and states

Réponse à la question d'entretien

Utilisateur anonyme

5 mars 2023

While both hold information that influences the output of render, they are different in one important way: props get passed to the component (similar to function parameters) whereas state is managed within the component (similar to variables declared within a function).