This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-12
Channels
- # aleph (1)
- # aws (2)
- # babashka (44)
- # beginners (178)
- # biff (12)
- # calva (22)
- # chlorine-clover (60)
- # cider (1)
- # clj-kondo (9)
- # cljdoc (6)
- # cljs-dev (37)
- # cljss (2)
- # clojure (43)
- # clojure-europe (3)
- # clojure-finland (23)
- # clojure-italy (1)
- # clojure-nl (4)
- # clojure-norway (3)
- # clojure-spec (56)
- # clojure-uk (148)
- # clojuredesign-podcast (1)
- # clojurescript (11)
- # conjure (5)
- # core-async (22)
- # cursive (9)
- # datascript (5)
- # datomic (4)
- # duct (8)
- # emotion-cljs (2)
- # figwheel-main (15)
- # fulcro (53)
- # graalvm (68)
- # helix (2)
- # jackdaw (1)
- # kaocha (9)
- # lambdaisland (1)
- # malli (10)
- # meander (2)
- # news-and-articles (1)
- # observability (12)
- # off-topic (17)
- # pathom (1)
- # pedestal (25)
- # practicalli (1)
- # protojure (4)
- # re-frame (2)
- # reagent (57)
- # reitit (1)
- # releases (2)
- # shadow-cljs (69)
- # specter (6)
- # tools-deps (10)
- # vim (16)
- # vscode (4)
- # yada (3)
is there a way to do an optional require of a namespace using a compiler option so that dce will not include anything from that ns? trying to make sci optional in a library, needs to be remove both from a require
and fn call. Or are there other ways to do this?
@ikitommi The way I would recommend doing that is to let people require sci.core
themselves and you check in your code if it exists. Same as cljs.spec does with test.check.
would it be possible to eliminate dead code under :advanced
compilation for protocol methods impls if the protocol method is not called?
@ikitommi pretty sure that already happens? assuming you are actually never calling the dispatch-fn either.
Does the latest Clojurescript
make it easier to use Storybook'??
How has anyone used storybook
clojurescript?
I released a cljs library which wraps https://github.com/orbitdb/orbit-db (an IPFS database): https://github.com/district0x/cljs-orbitdb. Maybe useful for someone.