This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-17
Channels
- # aws (3)
- # beginners (104)
- # boot (11)
- # calva (3)
- # clj-kondo (1)
- # cljdoc (6)
- # cljs-dev (23)
- # cljsrn (1)
- # clojure (144)
- # clojure-dev (54)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-nl (26)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (13)
- # clojurescript (38)
- # core-async (9)
- # cursive (14)
- # data-science (3)
- # datascript (22)
- # datomic (17)
- # figwheel (1)
- # fulcro (4)
- # graphql (6)
- # hoplon (59)
- # jackdaw (2)
- # jobs (6)
- # jobs-discuss (44)
- # juxt (14)
- # leiningen (1)
- # luminus (3)
- # nrepl (3)
- # off-topic (12)
- # re-frame (24)
- # reagent (7)
- # reitit (7)
- # rewrite-clj (1)
- # schema (1)
- # shadow-cljs (37)
- # spacemacs (4)
- # sql (25)
- # testing (12)
- # tools-deps (11)
- # utah-clojurians (1)
Thanks for your input! I think I’ll do some experiments with scaling different types of apps in both cljs+react and bare react and see what the general trend is like. I’ll report back with any interesting findings
If anyone is working or having plans on ClojureDart, I would like to get involved! #all-the-channels
What's clojuredart?
Hi folks, new to this workspace, and to clojurescript. I inherited a reagent project that was using older versions of reagent and clojurescript and I upgraded to current versions. When I try and compile the clojurescript (using figwheel), I get the error java.lang.IllegalArgumentException: /blah/blah/blah.js is not a relative path
. Googling around, this error came up and people thought it was an issue with the cljs compiler parsing pathnames incorrectly. Indeed, simply moving the project folder to a different location in the filesystem fixed the problem for multiple developers. Has anyone ever come across this?
Hey everyone,
I keep getting this error:
ReferenceError: Can't find variable: ona
*** Tests failed! ***
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
when I run lein cljsbuild test
and can't seem to solve it for days. I have removed the compiled js test file and recompiled it but seems not to help.
I recently upgraded to Ubuntu 18.04.Could that cause the problem? My tests were running fine when I was using Ubuntu 16.04.
Any thoughts and suggestions would be appreciated.
hey @mwatelaraycee33 - it might be that your version of node changed
i’m sorry then, must be something else! you could try running your stuff in a docker container which corresponds to the old version of ubuntu you had, to see if it’s really upgrading your OS that is causing the problem
@dazld i found a solution! i uninstalled phantomjs and re-installed it and it worked!
We have actually been moving our project to re-frame and planning to use karma instead
a friend demoed his use of https://www.cypress.io recently, and it was really impressive, might want to check that out too
are there any active channels where people discuss using react native and clojurescript?
from reading that load
is a repl special form, does that imply I cannot use it in my program the same way I would in clojure to break up a namespace?
I wanted to move a bunch of multi-method implementations away from the defmulti, but that's impossible to do without breaking things currently as it would create a circular dependency (or a breaking change)
Is there a community consensus or opinion on these various JS 'module packaging' things cjs, esm, udm? Or is good ol' straight .js the best approach?
Well, specifically, I was looking at upgrading the CLJSJS package for cytoscape, but for 3.3+ they only provide esm, cjs, and udm
I admit to not knowing much of anything about this stuff
Ah, is that because 'umd' is universal and works in the 'old' way as well?
yes it typically has 3 "branches". one for commonjs require
, one for AMD-style require.js and one that just exports a global (ie. works as a <script> tag)
OK, that makes sense, so the exported global is what is needed in this context (for externs)?