Re:Flipboard releases React Canvas
by vladev on Tuesday February 10, 2015 @02:54PM
(#9029468)
I actually wonder if it can be done even more elegant with RxJS?
[ Parent
| on HN ]
Thanks for the heads up about RxJS, didn't know that existed.
Seeing as one of the benefits of React is in server-side rendering, and now with the new OSS nature of .NET, it's worth considering standard Rx as well ( https://msdn.microsoft.com/en-gb/data/gg577609.aspx ).
Rx is very new to me, so I may have this description wrong, but it essentially seems to be well-supported event-driven programming library. Worth a look if you're interested in FRP.
Re:Flipboard releases React Canvas
by seanmcdirmid on Tuesday February 10, 2015 @04:13PM
(#9029940)
Rx isn't FRP, and doesn't really solve the same problem that react does (view management). Its grew for pushing discrete events around, but doesn't provide for any signals and continuous binding.
Rx programming is so great. It's one of those things that you seldom find a use case for but when you do it leads to 50x easier and more readable code. It truly is for events what Linq was for collections Mostly only useful with more advanced ui and network programming though
You may want to take a look at elm-html.
Re:Flipboard releases React Canvas
by danabramov on Tuesday February 10, 2015 @03:25PM
(#9029651)
Also Cycle (virtual-dom + Rx)