5 ms·
Using React every day has me sold on functional reactive programming for UI. But there's definitely some friction at the boundary between the nicely declarative
by kilowatt 12y ago
Using React every day has me sold on functional reactive programming for UI. But there's definitely some friction at the boundary between the nicely declarative React tree and the rest of the world with all its mutable state.
I'd love to experiment with with React and Elm (or maybe Ur/web?) together.
- andreypopp 12y agoYou could also be interested in PureScript[1] then; and its React bindings[2]. It is a statically typed language which compiles to JS. It has row polymorphism and effects (yay!). [1]: http://purescript.org http://purescript.org [2]: https://github.com/purescript-contrib/purescript-react https://github.com/purescript-contrib/purescript-react
- cgag 12y agoThis is the stack I'm planning on attemtping to use for my next project. The purescript-react docs could use some work, and I think the best example is the one in the pull request "Another example", but it seems like purescript + react is a really nice combo.
- teamonkey 12y agoGiven that Elm is a FRP language, what additional benefit does React grant you?