News for hackers. Stuff that matters.
Re:Poor man's signals – tiny vanilla JavaScript signals impl... by jitl on Wednesday September 04, 2024 @07:58AM (#41444635)
It’s definitely not functional reactive programming, which needs to expose events and the history of events as first-order primitives, and usually a library of operations over the history of events.

If you simplify out the event stream primitive from FRP, what you are left with is not FRP.

Re:Poor man's signals – tiny vanilla JavaScript signals impl... by hbbio on Wednesday September 04, 2024 @10:01AM (#41445961)
Yes, as stated in the doc: "cells is a simplified Functional & Reactive (but not strictly FRP) library".

There were enough true FRP libraries around not to implement another one. We think cells is a sweet spot where we get most of the benefits of functional programming and reactive programming while simplifying the concepts from the original paper from Elliott and Hudak.