This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-09
Channels
- # beginners (20)
- # boot (4)
- # cider (2)
- # cljs-dev (25)
- # clojure (45)
- # clojure-dev (1)
- # clojure-greece (5)
- # clojure-italy (20)
- # clojure-nl (12)
- # clojure-russia (11)
- # clojure-uk (256)
- # clojurescript (176)
- # data-science (33)
- # datomic (47)
- # docs (1)
- # duct (13)
- # fulcro (54)
- # graphql (24)
- # hoplon (3)
- # jobs (1)
- # leiningen (32)
- # luminus (3)
- # midje (1)
- # mount (2)
- # off-topic (3)
- # onyx (5)
- # overtone (1)
- # parinfer (12)
- # pedestal (4)
- # re-frame (60)
- # reagent (11)
- # reitit (3)
- # ring-swagger (21)
- # rum (1)
- # shadow-cljs (16)
- # spacemacs (23)
- # tools-deps (19)
- # vim (79)
Is the shadow-re-frame
repo the current recommended starting point for a project of that type?
I took a look at shadow-cljs and like what I saw. I was wondering is there any advice for packaging and consuming a shadow-cljs project as a library in another Clojurescript project that may be a leinigen project?
@kasuko shadow-cljs currently has no built-in support for packaging/publishing libraries. you can use lein
for that though. as far as comsuming that goes there is nothing special regarding shadow-cljs and it works just like any other cljs lib.
@jmckitrick I don't use re-frame myself but I tested this most recently and it worked well https://github.com/jacekschae/shadow-re-frame
Perfect, thanks!
@thheller I need to use shadow-cljs to handle NPM dependencies that the current core-cljs library can not. So I need shadow-cljs to compile and output those dependencies in JS that could be properly imported by core-cljs ... should I be using the :browser
target?
unfortunately not. I guess you could try the cljsjs
route if there isn't a package for apollo-client already?
I'm trying to do a release version of a bunch of devcards (weird I know), which get included in a top-level ns that just calls devcards.core/start-devcard-ui!
the namespaces that don't have explicit side effects (e.g. a println
) get removed tho 😞
@lilactown mark the function as export, eg: (defn ^:export dont-kill-me [])