This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-30
Channels
- # arachne (5)
- # beginners (42)
- # cider (35)
- # cljs-dev (25)
- # cljsrn (2)
- # clojure (107)
- # clojure-dev (32)
- # clojure-finland (2)
- # clojure-greece (3)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-spec (27)
- # clojure-uk (45)
- # clojurescript (152)
- # core-async (3)
- # cursive (26)
- # data-science (4)
- # datomic (33)
- # defnpodcast (1)
- # duct (12)
- # editors (3)
- # emacs (6)
- # events (5)
- # fulcro (6)
- # jobs (1)
- # lein-figwheel (9)
- # off-topic (7)
- # onyx (7)
- # re-frame (1)
- # reagent (9)
- # reitit (31)
- # shadow-cljs (130)
- # slack-help (1)
- # spacemacs (53)
- # tools-deps (55)
- # yada (4)
@grav https://github.com/reagent-project/reagent/blob/master/doc/UsingHiccupToDescribeHTML.md
Thanks for the link. Didn’t find what was mentioned in the reddit thread, so I created a PR. https://github.com/reagent-project/reagent/pull/391
Hmm, maybe I should document this. https://github.com/kennytilton/hiringagency/blob/master/README.md
I did not end in the Reagent internals until I started analyzing it for glitches.
I confess, though, I never developed a complete mental model of form-Ns.
This page is great. http://reagent-project.github.io/docs/master/CreatingReagentComponents.html
My glaring gap has been form-2 where the outer and inner functions both have parameters. But it is simple:
Remember, outer is called once per component instance. Each time, the parameters to outer will hold the initial parameter values. The renderer on the other hand, will be called by Reagent many times and, each time, potentially with alternative parameter values, but unless you repeat the parameters on the renderer it will close over those initial values in outer.
Elementary, watson!