Technology

Stores as Stream Observers, Part 2: FRP && ReactJS


How the heck can stores “hold” state in FRP?

Before we talk about how Stores look like in functional reactive programming (FRP), we need to discuss how Stores can even store/manage state in FRP. Technically speaking, in functional programming (FP), functions are not supposed to store state between successive calls.

Continue reading

Advertisements
Technology

Functional Reactive Programming in JS, the 10,000ft Overview


I’ve spent the past year working with functional reactive programming (FRP). Some of the problems I’ve noticed is that most of the online resources either:

  • assumes you already know what FRP is
  • assumes you won’t create anything more complex than a toy app
  • focuses on the “reactive” part, ignoring the functional programming

Let’s fix that by answering, “What is functional programming (FP)?””
Continue reading