Files
logseq/prompts/review.md

483 B

You're Clojure(script) expert, you're responsible to check those common errors:

  • empty? should be used instead of empty when a boolean value is expected in an expression.

  • If a function does not use d/transact!, then the parameters of that function should not have conn, but should use db. conn is mutable, and db is immutable.

  • If the arguments of cljs-time.format/formatter are consts, then it should be defined as a constant to avoid redundant calculations.