Working with React Components + Props

What are props? In simple terms, they are data passed into components. When to use props? When building a react application, the UI is divided into smaller parts called Components. Some of these components are re-used in various pages or parts of the application, of course with different data/messages/content. For this to be effective, props are used. For example, a simple react website with two pages, all share a common <Head> element: ...

March 24, 2021 · 4 min · Chris Achinga