This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-14
Channels
- # announcements (2)
- # beginners (88)
- # calva (17)
- # cider (25)
- # cljdoc (22)
- # cljs-dev (10)
- # clojure (194)
- # clojure-italy (1)
- # clojure-nl (8)
- # clojurescript (24)
- # data-science (11)
- # datomic (1)
- # fulcro (6)
- # jobs (1)
- # leiningen (4)
- # nyc (1)
- # off-topic (70)
- # pedestal (6)
- # quil (4)
- # shadow-cljs (59)
- # vim (8)
What is assoc-in
part doing here? does it put data into table at required location?
@UCMNZLJ93 Yep. :person-to-edit
is set to the [:person/by-id $id]
, the parser will get that from the {:person/by-id }
in your app state and send the data to the UI. http://book.fulcrologic.com/#_the_secret_sauce_normalizing_the_database
just adding to what @U3LP7DWPR said, in app state you have normalized data in tables, like :person/by-id
, and references to specific normalized instances via idents, [:person/by-id 123]
, assoc-in
is setting the latter
Can we do everything with 16. Form State Support (new) which can be done with 17. Full Form Management (Older Support) ?
Or does Full Form Management have more features to it?
@UCMNZLJ93 Think so, it's the recommended approach now (the full
in the old approach name might be a bit misleading). Think old full form support was a bit more intrusive, the new form state support
is nicer 🙂