This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-20
Channels
- # announcements (4)
- # babashka (10)
- # beginners (8)
- # calva (13)
- # cherry (20)
- # cider (9)
- # clojure (11)
- # clojure-austin (2)
- # clojure-europe (3)
- # clojure-norway (3)
- # clojurescript (1)
- # datomic (5)
- # dev-tooling (9)
- # fulcro (5)
- # hyperfiddle (5)
- # instaparse (1)
- # lingy (1)
- # malli (21)
- # matrix (1)
- # missionary (9)
- # off-topic (12)
- # releases (2)
- # ring-swagger (8)
- # scittle (9)
- # shadow-cljs (20)
Do you ever need grid-col-span, grid-col-start, gap, gap-x and gap-y from tailwind in shadow-css? I can add them in my custom, but might you be interested in me making a PR to add those?
i tend to write more less commonly used stuff using maps, eg. https://github.com/thheller/shadow-grove/blob/3c71f46ab6a7aebefeffcb9cd777ed54c79f4d3d/src/main/shadow/grove/devtools/ui/tree.cljs#L46-L51
for certain stuff I find maps a lot easier. basically if I have to look up an alias I just use a map. 😛
ahaha makes sense
I'll see how I go
I have a cljc file that imports another namespace (also defined in a cljc file) with :as
and then uses some macros from the alias. Shadow is complaining about the macros not being defined. Am I doing things the wrong way?
The namespace in question is this: https://github.com/cjohansen/replicant/blob/main/src/replicant/core.cljc
One of the errors is this:
> Use of undeclared Var replicant.asserts/assert-no-class-name
Although it is defined here: https://github.com/cjohansen/replicant/blob/main/src/replicant/asserts.cljc#L7 (and this namespace uses :require-macros
on itself for the cljs compiler).
hmm should be fine. did you maybe work on this file while it had an error? sometimes the CLJ code ends up in a dead state where a reload messed something up
It was reported to me by @U9A1RLFNV, he got this after using the clojars prerelease version I think
only guess I have that the namespace failed to load properly. sometimes the CLJ parts get lost if there is an error
Right, that was my suspicion as well, so at the very least I checked that the asserts file was part of the jar file 😅
also possible that there maybe is a asserts.cljs
file present that didn't load macros?