While working on a react project a question kept coming up that I seem to not be able to put into words. Whats the difference between state and props? What do each do within react? Leaving me confused each time I was asked I decided to attempt to put it into words what are the main differences to help not only myself but someone else out there looking for the answer.

So what is Props? Props is short for properties, what props do is that they are passed into a component. You have information within them to be used into…

David Lago

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store