This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-23
Channels
- # announcements (11)
- # babashka (35)
- # beginners (110)
- # calva (2)
- # cider (46)
- # clara (5)
- # clj-kondo (29)
- # cljdoc (4)
- # cljsrn (59)
- # clojure (163)
- # clojure-brasil (3)
- # clojure-europe (24)
- # clojure-italy (2)
- # clojure-nl (10)
- # clojure-sweden (1)
- # clojure-uk (36)
- # clojurescript (58)
- # conjure (24)
- # cursive (19)
- # data-science (14)
- # datascript (1)
- # datomic (10)
- # docker (3)
- # expound (6)
- # figwheel-main (17)
- # fulcro (16)
- # graalvm (1)
- # leiningen (9)
- # malli (11)
- # off-topic (22)
- # parinfer (1)
- # pathom (1)
- # re-frame (18)
- # reagent (18)
- # reitit (3)
- # ring (3)
- # shadow-cljs (8)
- # spacemacs (3)
- # specter (79)
- # sql (20)
- # tools-deps (25)
- # vim (4)
- # xtdb (8)
Is below considered anti-pattern? I manually added :account/name
to :query
because I wanted to ensure that it exists regardless of whether AccountProjectList
queries for it or not.
(defsc MainView [this {:session/keys [valid? account] :as props}]
{:ident (fn [] [:component/id :session])
:query [:session/valid?
{:session/account (conj (comp/get-query AccountProjectList) :account/name)}]
:initial-state {}}
(div
(div (str "Hello, " (:account/name account) "!"))
(ui-account-project-list account)))
@zhuxun2 didn't get why you didn't just add this to AccountProjectList
directly?
Because AccountProjectList
does not need :account/name
itself. I thought AccountProjectList
should not know the existence of MainView
, isn't that right?
If default value of 0
is defined for a rad attribute, then the default value doesnt appear on the form.
The reason being the renderer checks if the value is a bigdec, and that check fails,this is the check in the code - (cognitect.transit/bigdec? 0)
, I can get this to return true irrespective to what value I give to it - 0M, 0, "0", 0.0, 12.12 etc - can someone help what will be a valid value for the above expression ?
@tony.kay please review - https://github.com/fulcrologic/fulcro-rad-semantic-ui/pull/5
http://book.fulcrologic.com/#ASTMutationJoins
When the defmutation
is in a separate file, using mutation joins requires using the quoted syntax doesn't it? Otherwise there's cyclic dependency...
Crosspost: #fulcro #pathom #eql
Hello
I work with EQL
API's for about 2 years now and I still have many doubts about how to model my query/data into EQL using fulcro/pathom.
So I created a "style guide"
I would be very happy to see the community participate in this process 🙂
https://github.com/souenzzo/eql-style-guide
I'm running into a peculiar issue using Workspaces with Fulcro Inspect. In Fulcro Inspect I can see the workspace Root in the App dropdown, but I cannot see my Card. It's as if the card app does not exist. What is weirder is it works for a colleague - same chrome version, same fulcro inspect extension, same code version, etc. I don't think I have any more context– has anyone resolved a similar issue?
^ worth pointing out too that, along with the Root
, the App dropdown also shows our.ns/ourcard-toolbar
— just not our.ns/ourcard
.
I’d also recommend using my fork of workspaces. The nubank one is still written in F2, which means both will be on classpath and could lead you to make mistakes in your requires
Nothing happens when I hit the inspect button. 😕
try re-installing the extension, I've seen many cases that it got corrupted somehow
It works for other people, so I'm wondering what could be different for me.