A React component is just a function that returns a description of UI — but that simplicity hides a critical design question: when should a component own state, and when should it be a pure function of props? After this lesson you can build the same component in all three historical forms, explain when to prefer stateless functional components over class components, and compose small components into a parent using JSX prop spreading.
By the end of this module, you will master the following architectural patterns and implementation details.
Enroll in the course to unlock full access
Mastery tools are available to enrolled students.
Enroll to Unlock Quizzes