This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-21
Channels
- # calva (11)
- # cider (4)
- # clojure (15)
- # clojure-europe (20)
- # clojurescript (14)
- # clr (45)
- # conjure (2)
- # cursive (1)
- # fulcro (10)
- # helix (4)
- # honeysql (7)
- # hoplon (21)
- # humbleui (2)
- # hyperfiddle (23)
- # introduce-yourself (1)
- # malli (11)
- # matrix (3)
- # off-topic (6)
- # pathom (2)
- # practicalli (1)
- # re-frame (9)
- # releases (1)
- # specter (2)
- # sql (10)
- # xtdb (2)
Interesting result on the Flutter "context" front: a little print diagnostic left in place to see if the context changes for a given f/mx widget build
function now fires if we add or remove an item. This using a ValueKey on the unvarying storage-id. So, yeah, Flutter keeps the same internal structure, but it "moves" it to a new Element.
Fun note: it does that for all subcomponents of the item as well.
OK, quiescing seems fine now that I am careful about reusing proxy items where Flutter will be reusing native items. This is what I was too lazy to write, costing me two days:
(map (fn [todo]
(let [stg-id (td-stg-id todo)
exg (some (fn [li]
(when (= stg-id (.-value ^m/ValueKey (mget li :key)))
li))
_cache)]
(or exg (todo-list-item todo))))
(sort-by todo/td-created-at
(todo/app-todos (my-app))))
sigh
Now I will turn the above into a reusable kids generator. For lazy people. :rolling_on_the_floor_laughing:🎉 4