This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-02
Channels
- # asami (5)
- # aws (16)
- # babashka (41)
- # babashka-sci-dev (44)
- # beginners (157)
- # biff (3)
- # cider (1)
- # clj-commons (1)
- # cljdoc (22)
- # clojure (7)
- # clojure-dev (5)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-uk (1)
- # clojurescript (17)
- # core-typed (13)
- # cursive (14)
- # datascript (10)
- # events (1)
- # fulcro (2)
- # graalvm (2)
- # gratitude (1)
- # jobs (3)
- # lsp (229)
- # pathom (2)
- # pedestal (3)
- # portal (53)
- # re-frame (7)
- # remote-jobs (1)
- # spacemacs (14)
- # xtdb (6)
Hey! I'm using fulcro-rad and try to use wrap-write-delta to add some data to the save-form mutation. In that rewrite I'm using the parser to resolve some query on the server side, something like this
(com.example.components.parser/parser env [{ident [:example/test]})
That seems to have a side effects, which I don't fully understand:
• the rewrite happens as intend
• but the form gets back a response with the old unchanged data
• after a reload I see the change
• without the parser call and just a static rewrite everything works as intended
How can I use the parser just to resolve my query without impacting the response?So the absolutely only diff is whether you call the parser or not? Isn't it a pure function? Or does it change some atoms?