This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-14
Channels
- # beginners (74)
- # boot (1)
- # cider (6)
- # clj-kondo (8)
- # cljs-dev (30)
- # clojure (195)
- # clojure-ecuador (1)
- # clojure-europe (2)
- # clojure-italy (51)
- # clojure-nl (47)
- # clojure-spec (9)
- # clojure-sweden (27)
- # clojure-uk (63)
- # clojurescript (84)
- # cursive (41)
- # datascript (17)
- # datomic (16)
- # docker (1)
- # emacs (10)
- # events (2)
- # graalvm (2)
- # graphql (37)
- # juxt (2)
- # nrepl (20)
- # nyc (2)
- # off-topic (26)
- # onyx (3)
- # pedestal (4)
- # perun (19)
- # planck (1)
- # reagent (9)
- # reitit (4)
- # shadow-cljs (208)
- # spacemacs (6)
- # tools-deps (4)
Hi guys! Loving reagent here! I needed access to getSnapShotBeforeUpdate, so I made a small change: https://github.com/vnorilo/reagent/commit/a72fb69e4e802c6af6af280634ed41820ef7fd90
I appreciate any feedback on if that’s correct / makes sense!
happy to make a pull request if this makes sense :)
At a quick glance I think this makes sense, so yeah, make a PR
At a quick glance I think this makes sense, so yeah, make a PR
thanks! done.
I'm trying to do something similar to this example to control focus on a specific state change - is there an example about how to use refs or something equivalent in Reagent? https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element
here’s an example: https://purelyfunctional.tv/guide/reagent/#refs