Comment by robto
7 years ago
Nope! Usually if I need ui I reach for Clojurescript, but if I need something "native" I go for cljfx[0], a wrapper of javafx. But it's so much better than javafx - you get a really nice repl-driven, live coding plaform with functional state management and smart re-rendering.
cljfx looks lovely, but I think it's misleading to talk about something being useful for 'frontend' if it can't do (at least one of) mobile and web.
There are lots of great languages I'd love to use, but if you want to target those common frontend platforms, your choice quickly becomes limited.
Oh, I don't know if I was unclear but it can definitely do web. The mobile story is a bit more hazy (I think mainly accessed through React Native wrappers), but the web is a first class, I would argue best-class, use case for Clojurescript.
Libraries like Re-Frame[0] and Reagent[1], as well as build tools like figwheel[2] or shadow-cljs[3] are the best frontend web development tools I have ever used, and I've used Javascript, Typescript, and Purescript professionally with Angular, AngularJS, React, a big 'ol jQuery glob, and Halogen.
[0]https://github.com/Day8/re-frame
[1]http://reagent-project.github.io/
[2]https://figwheel.org/
[3]http://shadow-cljs.org/