This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-23
Channels
- # announcements (2)
- # babashka (56)
- # beginners (30)
- # calva (79)
- # cider (5)
- # circleci (3)
- # clj-kondo (84)
- # cljfx (2)
- # cljsrn (3)
- # clojure (264)
- # clojure-czech (3)
- # clojure-europe (18)
- # clojure-spec (3)
- # clojurescript (12)
- # conjure (28)
- # cursive (5)
- # datomic (4)
- # deps-new (22)
- # fulcro (6)
- # graalvm (3)
- # jobs (1)
- # malli (1)
- # off-topic (23)
- # pathom (4)
- # portal (3)
- # practicalli (2)
- # quil (6)
- # reagent (20)
- # remote-jobs (3)
- # reveal (14)
- # ring (10)
- # shadow-cljs (5)
- # spacemacs (4)
- # xtdb (4)
So I got fulcro RAD demo up and running and going through the UI, it's pretty cool. One thing that I did notice however is that input-forms triggered re-renders for the majority of the other components. What are some best practices when it comes to forms and optimizing renders?
You can use transact!! to only refresh the parent component. However Tony discovered that the performance gain is negligible in all but extreme cases I believe. Ie don't care unless you prove performance is an issue
Gotcha, maybe it was slowing down more as I typed because I had the react-tools open that flashes re-renders on the screen. I'll keep that in mind, thank you!
By the way, I saw your first tutorial on Fulcro and it looks great so far. Are you planning to release them in a weekly basis?
You mean https://github.com/fulcro-community/guides/blob/minimalist-fulcro-tutorial/minimalist-fulcro-tutorial/index.adoc? Nice to hear! Not, certainly not :-) I do not have any other tutorials planned. It is very time consuming. I'll we happy when I manage to finish this one.