Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Components and Props

An important detail to remember about props is that they are "read only" (or immutable), which means that a component can only read the props given to it, never change them. The (parent) component higher in the tree owns and controls the property values.

For example, if you try to set or change a prop value like this:

const Header = (props) => {
  return (
    <header>
      <h...