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.
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: ...