This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-07
Channels
- # adventofcode (269)
- # beginners (100)
- # boot (6)
- # cider (4)
- # cljsrn (4)
- # clojure (161)
- # clojure-android (31)
- # clojure-argentina (2)
- # clojure-brasil (8)
- # clojure-greece (45)
- # clojure-india (2)
- # clojure-madison (2)
- # clojure-russia (17)
- # clojure-spec (4)
- # clojure-sweden (1)
- # clojure-uk (32)
- # clojurescript (93)
- # core-logic (2)
- # cursive (21)
- # data-science (2)
- # datomic (46)
- # defnpodcast (1)
- # duct (5)
- # emacs (21)
- # events (1)
- # fulcro (17)
- # graphql (13)
- # job (1)
- # jobs (2)
- # leiningen (11)
- # lumo (3)
- # off-topic (119)
- # om (4)
- # onyx (2)
- # planck (6)
- # portkey (12)
- # re-frame (5)
- # reagent (3)
- # ring (5)
- # shadow-cljs (27)
- # spacemacs (19)
- # specter (6)
- # unrepl (9)
Fulcro guarantees reads follow writes, so you can do a mutation and read…the new merge join gets to access to the normalization story easily
[(gs/> :.table-header "div") {:font-weight "normal"
:text-align "left"
:padding "5px 4px"
:border-right border}
[:&.flex {:flex 1}]
[(gs/& gs/last-child) {:border-right "0"}]]
@wilkerlucio Thanks. Your explanations from yesterday spot on for me. I see that :&.flex
can be broken down so that :&.
means "if the previous selector (always contained within a vector in garden) has the class (that's what the dot is for)". And the previous selector is: 'all the div
tags that are directly under any tag that has the class table-header
'. And (gs/& gs/last-child)
is using garden combinators as that's the only way to have two conditions AND-ed together. Effectively the last div
element directly under a .table-header
gets a right border of size 0.
exactly, happy to hear you got that cleared 🙂
I renamed the server interaction chapters, so if anyone sees broken links please let me know (or PR a fix 🙂 )
New lein template on clojars:
lein new fulcro app
or lein new fulcro app v1
…former generates 2.0 app, latter 1.x
TodoMVC updated. I rewrote some bits of it that weren’t very clean. It’s a better app now I think. The mutations are much more clear
fulcro-sql 0.3.0 released. Fixed documentation errors on readme, adn removed dep on Om Next