No results.

NewCrafts Videos

Created by developers for developers, NewCrafts is an ephemeral learning ground for professional developers who care for quality code and bettering their practices. Get more on

Clement Delafargue-Beyond flux: going full cycle with functional reactive programming

React and flux have shown us how to design UI in a modular fashion. One of the core ideas, is that data should always flow in one direction. With this concept, it's easier to build applications from independent modules. I'll show what react core concepts are and how they allow developers to manage complexity in big applications.

I'll then show how to go one step further with Functional Reactive Programming and RxJS. After explaining what FRP is (and isn't), I'll show how FRP principles can unify a lot of different things in flux architectures. Cycle.js allows us to have a single direction rendering loop by representing both DOM and user interaction with observables, which come with an extensive API. FRP has been used for some time in UI frameworks (eg Reactive Cocoa for MacOS). Now its time has come in the javascript world, thanks to libraries like RxJS and to the ideas pushed forward by React and Flux.

At the end of the talk, you'll have a basic understanding of how Flux works, you'll know how RxJS works and how you can use FRP to design your client side applications.