CHAPTER 3

image

Architecting Applications with Components

The previous chapters provided an overview of React. You saw that React is all about bringing a component-based architecture to interface building. You understood the evolutionary approach of bringing HTML together with JavaScript to describe components and achieve separation of concerns not by separating technologies or languages, but by having discreet, isolated, reusable, and composable components.

This chapter will cover how to structure a complex user interface made of nested components. You will see the importance of exposing a component API through propTypes, understand how data flows ...

Get Pro React 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.