This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-13
Channels
- # announcements (1)
- # beginners (155)
- # calva (104)
- # cider (7)
- # clj-kondo (55)
- # cljdoc (2)
- # cljs-dev (19)
- # cljsrn (22)
- # clojure (230)
- # clojure-europe (1)
- # clojure-italy (15)
- # clojure-losangeles (8)
- # clojure-nl (11)
- # clojure-spec (20)
- # clojure-uk (30)
- # clojurescript (10)
- # code-reviews (32)
- # cursive (2)
- # data-science (6)
- # datascript (3)
- # datomic (141)
- # fulcro (1)
- # graphql (6)
- # jobs-discuss (19)
- # luminus (8)
- # off-topic (30)
- # pathom (2)
- # protorepl (8)
- # reagent (15)
- # reitit (3)
- # shadow-cljs (11)
- # tools-deps (1)
- # xtdb (8)
Hey, trying to migrate from clojurescript 1.10.339
to 1.10.520
and am running into an issue:
We had a spec defined like the following
(s/def ::x (s/* vector?))
We would use a set of vectors as the argument and it would be valid, but now…
(s/explain-data ::x #{[:a]})
#:cljs.spec.alpha{:problems
[{:path [],
:pred
(cljs.core/fn
[%]
(cljs.core/or
(cljs.core/nil? %)
(cljs.core/sequential? %))),
:val #{[:a]},
:via [:cljs.user/x],
:in []}],
:spec :cljs.user/x,
:value #{[:a]}}
Is this a bug, or an intentional change?answered in #clojure-spec
anyone used re-graph with re-frame? I've got it working fine with queries, but ws subs don't work, they throw errors like this repeatedly:
Ignoring graphql-ws event Object {
"_hash": -1918427164,
"cljs$lang$protocol_mask$partition0$": 2153775105,
"cljs$lang$protocol_mask$partition1$": 4096,
"fqn": "re-graph.internals/default",
"name": "default",
"ns": "re-graph.internals",
} - ka
For context , this is an expo app using hasura /pg as graphql backendAnyone measure test coverage in cljs? Cloverage doesn't seem to have support.
I wonder if this is useful https://developers.google.com/web/updates/2017/04/devtools-release-notes#coverage
Thanks, I'll take a look.
I’d be interested to hear how you go. I’d love to have a useful coverage tool for cljs.
Hi Clojurians, I’m trying to update/remove class from js object. I do get a list of nodes through .getElementsByClassName
@U2HBNQQBE Not sure the problem you’re having, but if it is related to filtering or iterating across the result of .getElementsByClassName, you may need to call cljs.core/array-seq
The NodeList object returned by browser dom apis isn’t really an array