This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-17
Channels
- # announcements (4)
- # beginners (82)
- # boot (1)
- # calva (26)
- # cider (13)
- # clj-kondo (41)
- # cljs-dev (25)
- # cljsrn (7)
- # clojure (82)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (13)
- # clojure-europe (11)
- # clojure-italy (27)
- # clojure-nl (8)
- # clojure-russia (6)
- # clojure-spec (32)
- # clojure-uk (15)
- # clojurescript (61)
- # core-async (1)
- # cursive (9)
- # data-science (1)
- # datomic (18)
- # duct (1)
- # emacs (2)
- # events (7)
- # fulcro (13)
- # graalvm (5)
- # immutant (1)
- # jobs-discuss (63)
- # leiningen (3)
- # off-topic (48)
- # om (3)
- # pathom (13)
- # planck (20)
- # prelude (3)
- # re-frame (55)
- # reagent (13)
- # reitit (5)
- # rewrite-clj (12)
- # shadow-cljs (67)
- # spacemacs (14)
- # sql (5)
- # tools-deps (4)
- # vim (23)
- # yada (2)
@lee how? re: ns clashes? Is there a link somewhere to how moving away from goog.provide would solve that?
and not interested in pulling in more stuff when installing JS engines is not that hard
@dnolen, my question on ns clashes is out of pure ignorance - and by ns clashes, I mean things like a.b.c
clashing with a.b/c
in cljs due to way namespaces are represented in Google Closure . Within the ClojureScript Podcast on Google Closure they touched on one of the reasons for goog.provide
deprecation is the use of globals. This made me wonder if the use of globals is related to the namespace clash problem and if using modules would in any way help here.
@dnolen re jsvu - I think I’ll use it because I found getting WebKit engine on linux and windows mystifying and building v8 more involved than I’d like, especially on Windows. But I do appreciate that changes (and reliance on 3rd party tools) have a risk/cost and can close the JIRA issue I created.
And… I do sincerely appreciate you letting me know you aren’t interested in jsvu… saves me from wasting effort.
It feels like ending externs inference guide with this part in https://clojurescript.org/guides/externs#return-types is a bit confusing. What this warning is about? Does it mean that it’s safe to ignore it?
@roman01la the warning is precise
@lee well that makes two of us re: goog.provide - I wasn't aware that the new modules stuff solves the global ns issue?
oh ok , found this one also https://clojure.atlassian.net/browse/CLJS-2928
@dnolen, re goog.provide - I don’t know enough to answer if new modules stuff solves the global namespace issue but maybe? https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide
far as I can tell the benefits are entirely from the perspective of someone writing JS directly