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 focused on asynchronous action creators in Flux architectures. These are functions that need to dispatch actions, but before they can, they have to wait for some asynchronous resource to resolve. We looked at the synchronous update round concept, which is central to any Flux architecture. Then, we discussed how action creators encapsulate asynchronous behavior in such a way that they preserve the synchronous update rounds.

Network calls are the most common form of asynchronous communication in JavaScript applications, including Flux architectures. We covered the difference between these and other asynchronous channels, and how promises can be used to bridge the gap between them. We also looked at how promises can be utilized ...

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