This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-21
Channels
- # aws (2)
- # bangalore-clj (14)
- # beginners (20)
- # boot (20)
- # cider (7)
- # cljs-dev (38)
- # cljsrn (13)
- # clojure (487)
- # clojure-argentina (3)
- # clojure-dev (15)
- # clojure-gamedev (4)
- # clojure-italy (3)
- # clojure-poland (1)
- # clojure-russia (1)
- # clojure-spec (25)
- # clojure-uk (47)
- # clojurescript (127)
- # datomic (125)
- # defnpodcast (1)
- # hoplon (27)
- # jobs (4)
- # lein-figwheel (2)
- # leiningen (1)
- # luminus (5)
- # off-topic (3)
- # om (25)
- # onyx (9)
- # parinfer (3)
- # pedestal (20)
- # planck (65)
- # re-frame (43)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (2)
- # rum (9)
- # spacemacs (1)
- # unrepl (37)
- # vim (1)
@mhuebert if you just want to know the macro namespaces the data should already be available, getting the dependencies of macro namespaces however is much trickier
@thheller is that because of dynamic statements outside of (ns..)
forms that wouldn’t be captured by traversing with a parse-ns
-style function?
tools.namespace
has some things but they only work reliably when you actually load all namespaces
but should be good enough since macro namespaces intended for CLJS don’t get very complex usually
So I suppose when bundling for self-host, we’ll only need to worry about precompiling macros that work in cljs. We can use other (precompiled) dependencies that use Clojure-specific macros, but those macros don’t come along for the ride
so if limiting to self-host-compatible macro files, then using cljs.analyzer
to get the ast of the ns
form should be ok (found that via analyzer.api/parse-ns)
is there an example repo that does :advanced
compilation of react? (with all the required workarounds)
@thheller here https://github.com/roman01la/scrum-ssr-example/tree/react (not plain React, but with a wrapper library, Rum)
or is there anything else I might be missing? only testing on a very basic example currently
I don't know if it's because Rum or Sablono is using some interop unsafely, but in case of this app it's not only event plugins
Too lazy to find out :)
wasn’t CLJS 6 yesterday?
this says 7/20/2011
the boostrap powershell script (and some others) is out of date, should I open a jira ticket for that, or pr?