This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-30
Channels
- # adventofcode (4)
- # aleph (1)
- # announcements (7)
- # aws (10)
- # babashka (23)
- # beginners (23)
- # calva (20)
- # chlorine-clover (13)
- # cider (17)
- # clj-kondo (13)
- # cljfx (9)
- # cljsrn (9)
- # clojure (98)
- # clojure-australia (1)
- # clojure-dev (15)
- # clojure-europe (127)
- # clojure-nl (4)
- # clojure-sanfrancisco (3)
- # clojure-uk (98)
- # clojurescript (25)
- # community-development (8)
- # core-async (15)
- # cryogen (9)
- # cursive (7)
- # data-science (1)
- # datascript (5)
- # datomic (3)
- # devcards (2)
- # fulcro (5)
- # graalvm (1)
- # helix (8)
- # jackdaw (1)
- # jobs (5)
- # kaocha (17)
- # malli (5)
- # meander (5)
- # off-topic (37)
- # pathom (33)
- # pedestal (3)
- # re-frame (12)
- # reitit (1)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (6)
- # testing (1)
- # vim (6)
- # vrac (5)
Hi, what is the idiomatic way to initialize the sate of an application at the start of a program?
Hi! I do exactly that — create application state atom with initial state right before mount-renderer
You can even dispatch some initialization event before mounting (like here — https://github.com/cljfx/cljfx/blob/master/examples/e18_pure_event_handling.clj#L59-L63)
3
@vlaaad Btw, I was looking at cljfx a few years ago (not sure how much) when the project was pretty new and got into it again last week. Really impressing what you have achieved so far, also the documentation is really good.
My pleasure! 😊 Try out Reveal as well 😄 https://github.com/vlaaad/reveal