mirror of https://github.com/status-im/reagent.git
Fix non-valid docstring
This commit is contained in:
parent
4aaff8f2f7
commit
66875fef0d
|
@ -1,9 +1,10 @@
|
|||
(ns reagent.core
|
||||
(:require [reagent.ratom :as ra]))
|
||||
|
||||
(defmacro with-let [bindings & body]
|
||||
(defmacro with-let
|
||||
"Bind variables as with let, except that when used in a component
|
||||
the bindings are only evaluated once. Also takes an optional finally
|
||||
clause at the end, that is executed when the component is
|
||||
destroyed."
|
||||
[bindings & body]
|
||||
`(ra/with-let ~bindings ~@body))
|
||||
|
|
Loading…
Reference in New Issue