Pergunta de entrevista da empresa Justuno

What is the difference between state and props?

Resposta da entrevista

Sigiloso

19 de mai. de 2019

In a React component, props is data passed to it by its parent component. State on the other hand is still data, but directly initialized and managed by the application.