r/Clojurescript • • Mar 02 '22

Web dev stack in Clojure

For Clojure web dev out here: is there a monolithic full stack option in Clojure such as Ruby on Rails or is backend + reagent more common? What is your most productive stack (mvp our quickly) or do you compare to other stacks if you had experience with before?

9 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/joshlemer Mar 02 '22

Don't you find Re-Frame just like insanely complex and error-prone to work with? Seems like it was designed like a Clojurist's take on Redux, but there's a new generation of state management libraries in JS like React Query (https://react-query.tanstack.com/) which seem to abstract data fetching in a way that's a lot more straight forward for the application developer.

2

u/fingertoe11 Mar 02 '22

I both love and hate it. ;-).
I love the traceability and interactivity of it. I dislike the boiler-platedness of my code when I use it, but I think that is mostly just inadequate hammock time before I started on my part.

I do love the 10x tool. But the fact you need/want it enhances your point.

Re-frame was easy enough to pick up and run with that I would recommend it to people starting out. It is overkill for a lot of things. Fulcro/Pathom seems awesome, but at least for me, it was too much to take in on first attempt. I have been able to create moderately complex apps with Re-frame without a terrible amount of discomfort..