Swipe to navigate through the chapters of this book
In this chapter, I describe the key building block in React applications: the component. I focus on the simplest type of component in this chapter, which is the stateless component. I describe the more complex alternative, stateful components, in Chapter 11. I also explain how the props feature works in this chapter, which allows one component to provide another with the data it requires to render its content and the functions it should invoke when something important happens. Table 10-1 puts stateless components and props in context.
Please log in to get access to this content
To get access to this content you need the following product:
- Components and Props
- Sequence number
- Chapter number
- Chapter 10