Skip to content

Commit

Permalink
also suggest to use utils.re-frame/reg-event-fx instead of utils.re-f…
Browse files Browse the repository at this point in the history
…rame/defn
  • Loading branch information
akatov committed Nov 6, 2023
1 parent 8c3b886 commit 590bc55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/re_frame.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
event keywords under which the function will be registered
- TODO: add suport for `prepost-map?` (don't forget to add it to arglist)
- TODO: add validation of macro parameters"
{:arglists '([name doc-string? attr-map? [params*] body])
:deprecated true}
{:arglists '([name doc-string? attr-map? [params*] body])
:deprecated true
:superseded-by "utils.re-frame/reg-event-fx"}
[name & fdecl]
(let [m (if (string? (first fdecl))
{:doc (first fdecl)}
Expand Down

0 comments on commit 590bc55

Please sign in to comment.