This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-24
Channels
- # beginners (61)
- # boot (1)
- # cider (55)
- # cljs-dev (17)
- # cljsrn (1)
- # clojure (31)
- # clojure-india (5)
- # clojure-spec (9)
- # clojure-uk (42)
- # cursive (3)
- # datomic (29)
- # editors (3)
- # fulcro (23)
- # hoplon (2)
- # lumo (12)
- # off-topic (8)
- # pedestal (6)
- # re-frame (3)
- # reagent (8)
- # reitit (23)
- # shadow-cljs (82)
- # specter (14)
- # tools-deps (8)
Hi! So we have this big piece of Nodejs code at work, and I’ve been thinking on extending it using clojure. Can I use lumo for this?
@pablore you could compile down to js and then require but I am afraid there is some twist there
I am saying this because Thomas Heller has an explicit :npm-module
for exactly that use case in shadow cljs
Just found out there is some idea for an embedding api, https://github.com/anmonteiro/lumo/issues/306
Yeah that's no yet in lumo
I have just received the approval for working on it from Antonio but at the moment I am using Shadow because it is more compatible with my colleague's IDEs/OS
so probably the easiest way is https://shadow-cljs.github.io/docs/UsersGuide.html#target-npm-module
at the moment
cool 😉