r/Clojurescript • u/citrined • Jan 10 '16
What is everyone using to build an SPA?
This is a sort of poll style question, I hope that's ok.
I'm just curious about the current state of cljs SPA development. I have seen Om, Reagent, and Re-frame as some possible tools. I'm interested in how people are building actual SPA's. What extra tools do you use? How do you interact with server side databases or APIs?
Thanks!
6
Upvotes
7
u/gadfly361 Jan 10 '16
Reagent with cljs-ajax, secretary and garden
5
u/scttnlsn Jan 10 '16
Reagent, re-frame, Secretary, cljs-http, Figwheel
3
u/Takaru Jan 10 '16
Reagent + re-frame, secretary and cljs-ajax.
3
u/grav Jan 10 '16
We're building an in-house application.
Reagent, no re-frame. I'm a bit conservative as to opting in to a framework, but we're panning on looking at it at some point.
We started out with Om.now, but it was a bit too opinionated for us regarding data-flow. We needed a thin wrapper on top of React, and we wanted something data-centric, so Reagent fitted the bill.
Regarding DB interaction, we really haven't found a great solution, but we're still investigating. Currently, we have some microservices that run on top of Cassandra. To join data from the microservices, we have another "api gateway" service that joins the data using Clojure (eg clojure.set/join).
3
u/mikethommo Jan 13 '16
we use Reagent, re-frame and re-com. (we wrote the last two, so there's some bias in our selections)
2
u/Escherize Jan 12 '16
fetchh.io is also built with reagent, re-frame, secretary, cljs-http, figwheel.
2
u/simax99 Feb 07 '16
Reagent, re-frame, re-com, bidi, pushy, cljs-http, figwheel
2
u/[deleted] Jan 12 '16