This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-17
Channels
- # aleph (2)
- # announcements (20)
- # aws (43)
- # aws-lambda (5)
- # babashka (9)
- # beginners (231)
- # calva (4)
- # cider (12)
- # cljdoc (8)
- # cljsrn (3)
- # clojure (47)
- # clojure-europe (5)
- # clojure-nl (4)
- # clojure-spec (41)
- # clojure-uk (47)
- # clojuredesign-podcast (3)
- # clojurescript (20)
- # cryogen (3)
- # cursive (4)
- # data-science (2)
- # datomic (15)
- # emacs (4)
- # fulcro (21)
- # jackdaw (6)
- # jobs (1)
- # joker (13)
- # juxt (8)
- # kaocha (10)
- # malli (7)
- # off-topic (29)
- # pathom (11)
- # re-frame (19)
- # reagent (3)
- # reitit (26)
- # remote-jobs (8)
- # schema (2)
- # shadow-cljs (112)
- # spacemacs (1)
- # tools-deps (49)
- # vim (2)
- # xtdb (7)
anyone know when the 0.11.0
release is likely to drop ? i'd quite like the error boundaries...
Is there something new in 0.11.0 with regards to error boundaries? We have been using error boundaries in re-frame 0.10.9 for a while now.
oh, i thought they only came with reagent-0.9... and re-frame-0.11.0 is the first release with that reagent
i was going by this: http://reagent-project.github.io/docs/master/ReactFeatures.html
which told me reagent-0.9
are you using those lifecycle methods via reagent, or doing something different ?
ah - looks like the 0.8.1 release has a componentDidCatch
impl https://github.com/reagent-project/reagent/blob/v0.8.1/src/reagent/impl/component.cljs#L205
so maybe it was just beta until 0.9.0 or something
either way, looks like i can use error-boundaries right now, and i should believe docs even less than i already do!
Haha. Looks like there may not be a :get-derived-state-from-error
. We have only been using :component-did-catch
with no issues.
i guess :get-derived-state-from-error
isn't really necessary
at least in a re-frame app
Re release re-frame 0.11.0-rc4 will become 0.11.0 unless any major issues are reported. It includes reagent 0.9.1
You don't necessarily need get-derived-state-from-error to use error boundaries but that is available from reagent 0.9.x and reframe 0.11.x
brill, thanks @U0G75S29H