This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-21
Channels
- # adventofcode (60)
- # aleph (2)
- # announcements (3)
- # architecture (2)
- # babashka (12)
- # beginners (90)
- # calva (14)
- # cider (32)
- # clj-kondo (1)
- # clj-together (7)
- # cljsrn (4)
- # clojars (10)
- # clojure (161)
- # clojure-dev (110)
- # clojure-europe (58)
- # clojure-nl (3)
- # clojure-spec (35)
- # clojure-taiwan (1)
- # clojure-uk (24)
- # clojuredesign-podcast (3)
- # clojurescript (27)
- # conjure (47)
- # cursive (17)
- # data-science (1)
- # datomic (1)
- # depstar (6)
- # fulcro (20)
- # java (4)
- # jobs-rus (1)
- # luminus (4)
- # malli (10)
- # off-topic (8)
- # re-frame (4)
- # reagent (1)
- # reitit (9)
- # reveal (1)
- # rewrite-clj (8)
- # ring (3)
- # sci (44)
- # shadow-cljs (5)
- # spacemacs (6)
- # specter (8)
- # tools-deps (6)
- # vim (1)
- # xtdb (11)
Hello, I have never been able to get Clojurescript examples to work properly when I try them. The defaults seem to be broken. For example, I tried following the instructions here (https://clojurescript.org/guides/quick-start) and the first repl page is broken. The error I get is goog.require could not find: cljs.pprint. The webpage just says "Item1". What am I missing?
The problem is replicated whenever I reload the page. I am using Firefox on the most recent version of Mint Linux.
If you follow all the directions up to the point of executing the first clj
command - does it work correctly?
Curiously, it flashes the screen that I'm supposed to see for a fraction of a second, and then it switches to something else.
I think that clojurescript is executing an old clojurescript file from a completely different project.
I don't think your setup is correct.
Try creating a project from the ground up. Just in case, make sure there's nothing in ~/.clojure/
. Clear the browser cache.
Hi all! I am currently writing tests for some cljs functions used in a Fulcro app. The result of a certain function is:
({:id :app.client/buttonchange1, :states (:initial :state/state1 :state/state2), :active-state :state/button1} {:id :app.client/buttonchange2, :states (:initial :state/button1 :state/button2), :active-state :initial})
How should I define an expected result in this case?
Just making a def and pasting this result doesn't work as the :states won't show using ()
Just to make my second statement clear - it's only like that for maps and keywords. Because they're both callable via implementing IFn
and their invoke
implementations work like get
.
(something ...)
just invokes something
on ...
when evaluated. something
can be anything, not just a symbol.
@U01AGMXNQ3X Did you mean to ask in this particular thread or in #clojurescript?
yes. i miss-placed it. I'll move it over. thanks.