O'Reilly logo

Flux Architecture by Adam Boduch

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

Stores and feature domains

With more traditional frontend architectures, models that map directly to what's returned from the API provide a clear and concise data model for our JavaScript components to work with. Flux, as we now know, leans more in the direction of the user, and focuses on the information that they need to see and interact with. This doesn't need to be a gigantic headache for us, especially if we're able to decompose our user interface into domains. Think of a domain as a really big feature.

In this section, we'll talk about identifying the top-level features that form the core of our UI. Then, we'll work on shedding irrelevant API data from the equation. We'll finish the section with a look at the structure of our store data, ...

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