Clement Delafargue

CTO @clever_cloud / Brittany, FP, feminism, cute baby animals. Not necessarily in this order.


NewCrafts 2016

 

Beyond flux: going full cycle with functional reactive programming

  • talk
  • Functional
  • Design
  • Web

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.

Room: Gallia - Time: 5/12/2016 3:45:00 PM