This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-04
Channels
- # announcements (1)
- # architecture (7)
- # beginners (44)
- # biff (11)
- # calva (15)
- # cider (5)
- # clerk (9)
- # clj-kondo (20)
- # clj-on-windows (19)
- # clj-yaml (2)
- # cljs-dev (39)
- # clojure (52)
- # clojure-czech (2)
- # clojure-dev (11)
- # clojure-europe (28)
- # clojure-hamburg (10)
- # clojure-hungary (3)
- # clojure-nl (1)
- # clojure-norway (59)
- # clojure-uk (5)
- # clojured (2)
- # clojurescript (33)
- # conjure (2)
- # datahike (1)
- # datomic (5)
- # defnpodcast (5)
- # emacs (18)
- # figwheel (2)
- # funcool (6)
- # graphql (1)
- # hyperfiddle (11)
- # jobs (3)
- # joyride (13)
- # malli (6)
- # music (4)
- # off-topic (45)
- # polylith (11)
- # practicalli (3)
- # rdf (3)
- # releases (1)
- # scittle (8)
- # shadow-cljs (13)
- # specter (2)
- # squint (8)
- # testing (6)
- # tools-deps (21)
- # xtdb (2)
is there a global event that fires when watch
rebuilds? so I could do, eg,
window.addEventListener("compiled", fn)
in some js code?Thanks @U05224H0W but what if this is in a .js
file?
As per your https://shadow-cljs.github.io/docs/UsersGuide.html#classpath-js I am including a js file so a collaborator can export certain React components.
I... don't remember
Sorry if this is the wrong place to ask, I'm not sure to which part this is related to. I'm getting a bunch of errors in the browser by just requiring ["@react-pdf/renderer" :refer (Document)]
, with the first error being [Error] SyntaxError: Unexpected token ','. Expected opening '{' at the start of a class body.
Has anybody seen this before?
the pdf libs are notoriously bad at working with build tools, could be that it includes some code that shadow-cljs doesn't process properly
is there a way to put a value into a CLJS file based on an ENV variable? we're doing some encryption stuff that involves public keys, and we'd like to basically inject the public key as a var in a CLJS file, getting the value on compile time instead of hard coding the value in the code