Justuno interview question

What is the difference between state and props?

Interview Answer

Anonymous

19 May 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.