Both props and state (state and props) are plain JavaScript objects. Although both hold information that influences the output of a render, they differ in their functionality with respect to the component. Props are passed to a component in a way similar to function parameters, whereas state is managed inside the component in a way similar to variables declared inside a function.
Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"
Comments