Chapter 6. Prop Types

Now that your application is set up, you are ready to begin building Code Café.

When you worked on Ottergram, you built it using components – reusable JavaScript functions that return React elements. Components are key to building scalable React applications, so understanding how they work is crucial.

Building your own components is an important skill for React developers. In this chapter, you will reinforce what you learned from building Ottergram by creating and using components for Code Café.

Another important aspect of React development is using components that other developers have built – and building components that other developers will use. Knowing the exact props that a component needs can be difficult, especially ...

Get React Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.