This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-20
Channels
- # babashka (56)
- # beginners (151)
- # calva (3)
- # cider (31)
- # clj-kondo (17)
- # cljs-dev (5)
- # clojure (26)
- # clojure-australia (21)
- # clojure-dev (7)
- # clojure-europe (23)
- # clojure-nl (5)
- # clojure-spec (54)
- # clojure-uk (11)
- # clojuredesign-podcast (8)
- # clojurescript (77)
- # community-development (10)
- # core-typed (1)
- # cursive (3)
- # datomic (7)
- # docker (67)
- # emacs (10)
- # expound (6)
- # figwheel-main (3)
- # graalvm (67)
- # helix (10)
- # java (13)
- # jobs (6)
- # kaocha (4)
- # leiningen (15)
- # malli (2)
- # meander (31)
- # off-topic (40)
- # pedestal (9)
- # rdf (7)
- # reagent (5)
- # reitit (9)
- # remote-jobs (5)
- # shadow-cljs (94)
- # sql (7)
- # testing (12)
- # tools-deps (75)
- # vim (13)
moinzy
ok, n00b question... I have a reagent app and I want to do an HTTP call when I load my component... But when I do it in the render call it doesn't really work... so how do I make an http call (in normal react it would componentDidMount
or something like that... but what is the equivalent in Reagent?
so this change did the lion's share of work in making my 1hour single threaded code take 4 minutes on a 16 core machine: https://github.com/MastodonC/witan.send/blob/30d009a3b12009b1ae05bf8debfbcfc7622b9aa4/src/clj/witan/send/model/run.clj#L198-L226
I just wish I had the time to stream the results down to the various things making data products as I could keep the memory pressure massively down too. atm I'm realising the whole sequence