RN
Size: a a a
RN
IG
IG
IG
MB
OR
list-item
list-item
list-item-with-some-shit
ST
OR
some-shit это некий дополнительный компонент, можно, конечно и через css )OR
list-item-1
list-item-2
list-item-3 +
OR
IG
(doseq [[i item] (map-indexed vector items)
:let [last? (= i (dec (count items)))]]
(if last?
;; last logic
;; not last logic
)
)
СС
DL
IG
doseq на for поменятьOR
:let в forOR
IG
OR
ST
(doseq [[i item] (map-indexed vector items)
:let [last? (= i (dec (count items)))]]
(if last?
;; last logic
;; not last logic
)
)
(dec (count items)) наверное не стоит делать в каждом циклеIG