Skip to content

Commit d7529a8

Browse files
authored
Merge pull request reagent-project#376 from troglotit/master
Fix non-valid docstring for `with-let`
2 parents 4aaff8f + 66875fe commit d7529a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/reagent/core.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
(ns reagent.core
22
(:require [reagent.ratom :as ra]))
33

4-
(defmacro with-let [bindings & body]
4+
(defmacro with-let
55
"Bind variables as with let, except that when used in a component
66
the bindings are only evaluated once. Also takes an optional finally
77
clause at the end, that is executed when the component is
88
destroyed."
9+
[bindings & body]
910
`(ra/with-let ~bindings ~@body))

0 commit comments

Comments
 (0)