r/purescript • u/wadi-chemkhi • Dec 13 '15
Halogen signals
Did halogen drop their original design of signal based FRP UIs? If so is halogen still reactive ?
3
Upvotes
r/purescript • u/wadi-chemkhi • Dec 13 '15
Did halogen drop their original design of signal based FRP UIs? If so is halogen still reactive ?
3
u/ephrion Dec 13 '15 edited Dec 13 '15
Halogen is still "reactive" in the sense that you define a state, a set of inputs, and you render the UI as a pure function of your state. This is not really FRP in the original sense. See Conal Elliot's talk for more info (he invented FRP)
You may find my comparison of the Elm architecture and PureScript Halogen interesting.
2
u/gb__ Dec 13 '15
Can you be more specific about what "reactive" means to you? It was never FRP, if that's what you had in mind, even when based on signals.
It's still a declarative system where the view is re-rendered in repsonse to changes in the state.