Back to Basic: What are Props in React and How to They Work?

1 · · July 16, 2019, 7:19 p.m.
If you’re already familiar with how arguments & functions work in JavaScript, understanding props is a piece of cake! In a nutshell, props are used to pass data from a parent component to a child component in React and they are the main mechanism for component communication. So in essence, props are a major part of what allows the React component pattern to work. Like most great inventions there’s always a simple core idea that holds everything together. In React, it’s arguably the props system ...