Chapter 10. Redux application architecture
This chapter covers
- Redux actions, stores, reducers, and middleware
- Simple testing of Redux actions, stores, reducers, and middleware
By this point, you can create React applications that are tested, handle dynamic data, accept user input, and can communicate with remote APIs. That’s a lot and covers most of what a typical web app will do; you may feel like the only thing left to do is practice. Putting your skills to use will help you master React, but there’s still an important area you’ll need to cover to build larger, more complex applications: application architecture. Application architecture is “the process of defining a structured solution that meets all of the technical and operational requirements, while optimizing common quality attributes such as performance, security, and manageability” (from Microsoft Application Architecture Guide, 2nd Edition). Architecture asks, “Okay, we can do this, but now how do we do it better and consistently?” It’s about how and how well the application is organized, how data moves around, and how responsibility is delegated to different parts of a system.