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

Summary

This chapter went into detail on the view layer of Flux architectures. Starting with getting information into views, you learned that the change event is fundamental in reflecting the state of the store in the view, and that views often read directly from stores during their initial render. Then, we went over the idea that views are stateless. The state of a given UI element belongs in a store, because other parts of the application might depend on this state, and we don't want to have to query the DOM.

Next, we went over some of the high-level responsibilities of view components. These include rendering store information, composing larger view structures out of smaller view components, and handling user interactivity. We wrapped the chapter ...

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