This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-04
Channels
- # aleph (10)
- # announcements (2)
- # babashka (2)
- # beginners (101)
- # calva (17)
- # cider (11)
- # clara (6)
- # clj-kondo (25)
- # cljsrn (33)
- # clojure (181)
- # clojure-dev (15)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-nl (8)
- # clojure-uk (22)
- # clojurescript (111)
- # clojutre (58)
- # cursive (31)
- # data-science (1)
- # datomic (10)
- # emacs (6)
- # ethereum (1)
- # fulcro (20)
- # graalvm (3)
- # jackdaw (5)
- # leiningen (5)
- # off-topic (31)
- # re-frame (2)
- # reitit (10)
- # shadow-cljs (9)
- # spacemacs (16)
- # sql (8)
- # tools-deps (16)
- # vim (17)
Is there some recursive version of remove-ident*
? In my case, I have A
-> B
-> C
, where C can be many. I’d like to eliminate all C
s, all edges from B
to C
, B
itself, and the edge from A
to B
.
I guess it could also be thought of as removing any C
and all edges that point to it, mapped over all C
s for a particular B
, then removing B
and all edges pointing to it.
Looks like deep-remove-entity
from here: https://github.com/fulcro-legacy/fulcro-incubator/blob/develop/src/main/fulcro/incubator/db_helpers.cljc
remove-edge!
is handy for clearing out C
s from a B
though, though I find the naming confusing.
In an attempt to upgrade to a react 16 version of FC2, all my defsc
component are now throwing this error:
Uncaught TypeError: Cannot read property 'call' of undefined
After doing some research, I found this is related to the react prop-types
library. Does anyone know why this might be happening?
Maybe PropTypes.any.isRequired
, but I don’t see anywhere in the Fulcro source where we are referring to prop types. Seems to be an common issue when React 16 came out and they made the prop-types package instead of including it. Still doesn’t make sense as to why ALL my defsc components are throwing this error.
@njj are you using a JS library that uses prop types?