Re:React.js Introduction for People Who Know Just Enough JQuery
by vezzy-fnord on Thursday July 09, 2015 @01:21PM
(#9859321)
I am familiar with FRP.
I have never seen React described as FRP, and a Google search for "React FRP" confirms that this is a heterodox belief and in fact it is you who might need to learn more.
Re:React.js Introduction for People Who Know Just Enough JQuery
by wrsh07 on Thursday July 09, 2015 @01:42PM
(#9859463)
Oh shoot, you're totally right.
I was thinking about react + flux, eg this line from the flux overview [https://facebook.github.io/flux/docs/overview.html]: "This structure allows us to reason easily about our application in a way that is reminiscent of functional reactive programming, or more specifically data-flow programming or flow-based programming, where data flows through the application in a single direction — there are no two-way bindings"
Anyway, I imagine people refer to react as "functional" because they conflate "declarative programming" with "functional programming."
Re:React.js Introduction for People Who Know Just Enough JQuery
by vezzy-fnord on Thursday July 09, 2015 @01:49PM
(#9859507)
Right. Apologies if I came across as abrasive.
This is about more than just managing state.
If you're not familiar with FRP, then I think learning more about the theoretical side might help clarify why everyone is describing react as functional.