This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # beginners (92)
- # boot (2)
- # cljsrn (6)
- # clojure (33)
- # clojure-austin (1)
- # clojure-dev (18)
- # clojure-spec (7)
- # clojure-uk (2)
- # clojurescript (35)
- # cursive (13)
- # data-science (3)
- # datomic (1)
- # defnpodcast (1)
- # figwheel (1)
- # fulcro (27)
- # instaparse (1)
- # java (2)
- # leiningen (8)
- # off-topic (5)
- # onyx (1)
- # portkey (2)
- # re-frame (9)
- # reagent (2)
- # ring-swagger (1)
- # shadow-cljs (136)
- # test-check (3)
- # tools-deps (29)
hello, does anyone know of any images slideshow lib like slick.js or something similar?
i have a large (?) set of static data, a few mbs, i'd like to represent as a map and interact with from within a clojurescript application. what's the best way to distribute this? trying to put it in a cljs file results in an analyzer error when i try to load it in the repl.
clj utility referred here?
that will be the command line clojure tool. First paragraph has a link that says "...and an installation of Clojure. " Click on it and follow the instructions and
clj is what you will get.
Hello, I get this error when I try to play with electron and CLJS 1.10 https://stackoverflow.com/questions/49719056/clojurescript-name-goog-is-not-defined-in-the-externs Is something wrong with the config or it's a known issue?
@robert-stuttaford thanks. I was just surprised that after N years of
lein being the main utility
clj one started to exist 🙂
Indeed. I've written that SO post)) I was wondering if it's the same issue or I've missed something in my project setup (maybe some changes in cljs 1.10). I have little experience with clojurescript, so it would be nice to get some pointers.
Currently I've just downgraded ClojureScript to
1.9.542 and it works like a charm, but it would be nice to get it working with 1.10 to get some build performance improvements
@alex.gavrisco Using automatic externs inference is optional. If you don't really need it for what you are doing, perhaps it could be disabled and then you could use 1.10.238
@alex.gavrisco If you are completely new to this topic, these might help https://clojurescript.org/reference/advanced-compilation https://clojurescript.org/guides/externs
I haven’t checked the warning issue on a newer version yet. Didn’t realize you wrote post hah
I got the warnings in 1.9.946 I think. It didn’t actually cause a problem though. Since goog was defined despite the warnings I guess or whatever.
I've got warnings with
1.9.946, but I haven't tested the app (since I got same warnings). I'll try in few minutes.
I’ve been using the inference, with warnings, in 1.9.946 for a while now and haven’t had trouble with any of the externs inference I’m actually using in the advanced optimization build
Well, I get same errors with with
1.9.946 (warnings during compilation, and "Cannot read property 'c' of undefined" in the app). In that Jira ticket @dnolen mentioned that on master this issue is fixed, so maybe it'll work in the next release.
I'm gonna try the solution suggested by @U04VDQDDY
You're right! I've enabled pseudo-names and I've seen that the error is related to reagent. I've upgraded reagent and now everything works like a charm. Thanks!
Hi, in terms of SPA vs server generated html webpages in a webframework. Which would you prefer nowadays? I created a poll for that because I am thinking of switching my leiningen template to re-frame as a default: https://doodle.com/poll/bvw2zkrfe9ue6hxg
For me it really depends on what kind of site it is. If it's purpose is mainly to give information, I still prefer server generated. When it becomes more interactive a SPA starts making more sense.
@sveri would help to have a project description. the answer is going to vary based on that.
@thheller The context is my template for web development: https://github.com/sveri/closp Up to know I deliver server side generated webpages for login / admin page and I think about switching to a complete clojurescript frontend.