O'Reilly logo

React Components by Christopher Pitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. React Design Patterns

In the last chapter, we looked at React on the server. We created a simple HTTP server followed by multiple endpoints and web sockets.

In this chapter, we will take a step back and consider the component architecture we have built so far. We'll look at a couple of popular React design patterns and how we can make subtle improvements to our architecture.

Where we are

Let's take a look at the things we have created so far and how they interact with each other. If you've been following closely, this may all be familiar to you; but stick with it.

We will talk about how these interactions are failing us and how we can improve them. From the moment our interface begins to render, we start to see the following things happen: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required