3 ms·
What I'd really like to see is a full stack clojurescript framework like next.js or meteor. I think fulcro comes close but it uses JVM clojure on the server sid
by knubie 7y ago
What I'd really like to see is a full stack clojurescript framework like next.js or meteor. I think fulcro comes close but it uses JVM clojure on the server side, so it's not entirely possible to re-use code on either end.
- fnordsensei 7y agoI don’t think Fulcro knows how it is being served. I don’t see why you couldn’t serve it from Node if that’s your thing.
- dantiberian 7y ago> I think fulcro comes close but it uses JVM clojure on the server side, so it's not entirely possible to re-use code on either end. You can reuse an awful lot of code between Clojure and ClojureScript using cljc files. In my experience it is rare to have code that you want to reuse between the browser and server that you can't make portable.
- hellofunk 7y agoThe vast majority of business logic code is portable between Clojure and Clojurescript, and the cljc file extension allows the same source files to be used on JVM or in the browser. Even asynchronous code with core.async is portable! In browser, it will be single threaded while on JVM it will be multithreaded, without any extra work from you.
- currentoor 7y agoThere are several commercial users of Fulcro using Node JS on the backend. I am one of them.
- knubie 7y agoI had no idea about that, guess I need to dive deeper into the fulcro docs, thanks!