This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-25
Channels
- # announcements (1)
- # beginners (70)
- # boot (2)
- # cider (12)
- # cljdoc (19)
- # clojure (25)
- # clojure-austin (1)
- # clojure-nl (2)
- # clojure-uk (9)
- # clojurescript (24)
- # cursive (7)
- # datomic (8)
- # figwheel-main (22)
- # flambo (1)
- # fulcro (16)
- # funcool (3)
- # jobs (1)
- # juxt (3)
- # off-topic (39)
- # reagent (4)
- # reitit (4)
- # ring (2)
- # shadow-cljs (90)
- # specter (11)
- # sql (2)
- # testing (2)
I’m happy to announce Fulcro 2.6.0 is on Clojars. This new release includes a complete rework of the internals to work with React 16's new lifecycle methods, and should be forward compatible to React 17 when it ships. There is a subtle difference with how component-local state behaves (React made this async), so it it possible you could see breakage if you rely on getting state right after setting it in the same sequence. I also refactored the CSS internals a bit to ensure that garden does not bloat adv compiles of cljs when you do not use component-local CSS. Users of the old defui
notation will have to rename their protocol usage.
There were some issues importing Fulcro's API into cljdoc recently which have now been fixed: https://cljdoc.xyz/d/fulcrologic/fulcro/2.6.0
question about fulcro mutations: how common is it that remote returns anything other that true/false
?
@thheller Might be difficult to find out how common it is without having a survey, but in all my work projects (where I interface with a REST api) I have to perform some witchcraft of the sort.
@thheller I use it relatively often. The returning
/`target` is particularly useful when you want a mutation to update your state from the server’s return value.