This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-18
Channels
- # announcements (2)
- # aws (3)
- # beginners (35)
- # boot (10)
- # cider (33)
- # cljs-dev (22)
- # clojure (58)
- # clojure-belgium (1)
- # clojure-europe (8)
- # clojure-houston (1)
- # clojure-italy (47)
- # clojure-nl (2)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojurescript (12)
- # cursive (18)
- # data-science (1)
- # datomic (2)
- # emacs (24)
- # figwheel-main (29)
- # fulcro (24)
- # hoplon (14)
- # juxt (6)
- # kaocha (3)
- # nrepl (6)
- # off-topic (64)
- # om (1)
- # om-next (1)
- # pathom (21)
- # pedestal (18)
- # planck (40)
- # protorepl (1)
- # re-frame (15)
- # reagent (7)
- # reitit (16)
- # shadow-cljs (184)
- # spacemacs (4)
- # test-check (33)
Hi everyone! Any recommended Electron libraries for Clojurescript? I’m thinking about: https://github.com/Gonzih/cljs-electron
Hi first day playing with clojurescript. I am trying to load a canvas library konva using :npm-deps.. if i try to require the package it errors with base.js:1357 Uncaught Error: Undefined nameToPath for konva
however.. if i use a different library like moment
it seems to work fine.. What am i missing?
@jdkida npm-deps is alpha quality, it doesn’t handle every possible JS modules format, not recommended to use
if you want interop with NPM consider shadow-cljs as a build tool
@jdkida I think they recommend this nowadays: https://clojurescript.org/guides/webpack if you want to use deps from NPM.
hm. I’m trying to use the goog.reflect
namespace in a macro, using the common 2-namespaces method where I have a cljs
file that requires a clj
file which contains macros, and the cljs
file requires all the namespaces used by the macros, including goog-reflect
. However, I am getting compile warnings,
WARNING: No such namespace: goog.reflect, could not locate goog/reflect.cljs, goog/reflect.cljc, or JavaScript source providing "goog.reflect" at line 4 /projects/cljs-test/src/reflect/other.cljs
WARNING: Use of undeclared Var goog.reflect/objectProperty at line 4 /projects/cljs-test/src/reflect/other.cljs
I have double-checked that goog.reflect
is required where it’s supposed to, and verified that if I swap out goog.reflect
for goog.object
and keep everything else the same, I don’t get warnings… so it seems like this is something specific to goog.reflect.
Minimal repro: https://github.com/mhuebert/cljs-goog-reflect