3 ms·
I'm a React fan, too, as it enables nice FP-based front-end experimentation, such as pretty much all of the front-end Clojure solutions. It's really hard to do
by christophilus 8y ago
I'm a React fan, too, as it enables nice FP-based front-end experimentation, such as pretty much all of the front-end Clojure solutions. It's really hard to do something like those using Angular or Vue.
- abalashov 8y agoYou'd be surprised how much FP you can pull off in Vue. :-)
- christophilus 8y agoI'd like to hear more about this. The reason ClojureScript's front-ends are React-based is that React provides a native JS view-layer (no templating required). I'm assuming Vue must do this, too, but I had a hard time tracking docs down when I looked a few years back. The other thing that React does is encourages top-down propagation of immutable data, which nicely fits ClojureScript and other FP languages. Is this approach equally efficient in Vue? Lastly, when I looked at view, it had a lot of sort of OO stuff happening in the docs, which doesn't map very nicely to ClojureScript and friends. Do you have any docs / blog posts on programming in Vue with pure JS (no templates or magic) and in a functional way? If so, I'd love to read them. I may spend a weekend trying to put a ClojureScript layer on top of Vue.