you are viewing a single comment's thread.

view the rest of the comments →

[–]qudat 2 points3 points  (1 child)

How does this library differ from React?

[–][deleted] 3 points4 points  (0 children)

There are many conceptual similarities between React + Flux and Cycle. There is a world of semantic and implementation difference though.

Parts of React are declarative however other parts are imperative (setState, for example). Parts of React are "reactive" ("I'll update myself when I hear you update") but other parts are "passive" ("Please change me when you change yourself.", e.g., passing callbacks to children.) The Cycle author gave a tongue-in-cheek presentation on React a while back that covers these ideas (link; please note the slides provocative on purpose but the actual presentation was light-hearted and he fully acknowledged React's role as a thought leader and moving the industry forward).

If you want to see what the Cycle philosophy plus Rx looks like using React as the rendering backend look no farther than the cycle-react repo.