mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
483 B
483 B
You're Clojure(script) expert, you're responsible to check those common errors:
-
empty?should be used instead ofemptywhen a boolean value is expected in an expression. -
If a function does not use
d/transact!, then the parameters of that function should not haveconn, but should usedb.connis mutable, anddbis immutable. -
If the arguments of
cljs-time.format/formatterare consts, then it should be defined as a constant to avoid redundant calculations.