This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-12
Channels
- # announcements (1)
- # aws (1)
- # beginners (182)
- # boot (33)
- # calva (87)
- # cider (3)
- # clj-kondo (2)
- # clojure (108)
- # clojure-dev (73)
- # clojure-europe (2)
- # clojure-italy (27)
- # clojure-nl (22)
- # clojure-norway (1)
- # clojure-spec (1)
- # clojure-uk (122)
- # clojurescript (78)
- # cursive (5)
- # datomic (17)
- # duct (2)
- # emacs (25)
- # events (3)
- # figwheel (1)
- # figwheel-main (1)
- # fulcro (88)
- # kaocha (6)
- # leiningen (2)
- # luminus (1)
- # lumo (4)
- # nrepl (4)
- # off-topic (37)
- # onyx (1)
- # re-frame (35)
- # reagent (1)
- # reitit (4)
- # shadow-cljs (8)
- # spacemacs (22)
- # specter (2)
- # sql (19)
- # tools-deps (12)
- # vim (11)
Hey all, working on a node application that requires exporting methods from defrecord
I am using the ^:export
tag on the method, but I can’t seem to resolve it through :exports
in shadow-cljs.edn
any clues?
@lilactown In advanced compilation you can
but I guess I am left to creating factory functions for now..actually did get this to work. I was calling the method in the deftype
definition when I needed to require it from the defprotocol
definition
Just a feedback: yesterday I started a toy project in Clojure. I've missed multiple things that are shadow-specific, like the ability to control reloads of code, the hooks after compiling, the watch of files and auto-run tests. So thanks to change my perception of ClojureScript from a clumsy language to one that I really like to use 🙂
Agreed, the hot-module reloading with the REPL integration is world-class. 🙂 Re: auto-run tests, you might be interested in lein-test-refresh https://github.com/jakemcc/lein-test-refresh