Skip to content

Commit

Permalink
update guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
akatov committed Nov 4, 2023
1 parent 36a3bea commit 37b517f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/new-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ Prefer the pure version of `:json-rpc/call` (no callbacks).

### Registering event handlers

Register events with `re-frame.core/reg-event-fx` and follow [re-frame's best
Register events with `utils.re-frame/reg-event-fx` and follow [re-frame's best
practice](https://github.com/day8/re-frame/blob/39adca93673f334dc751ee2d99d340b51a9cc6db/docs/FAQs/BestPractice.md#use-the-fx-effect)
so use only `:db` and `:fx` effects. `rf/merge` is deprecated and should not be
so use only `:db` and `:fx` effects. `utils.re-frame/merge` and `utils.re-frame/defn` are deprecated and should not be
used in the new code in `src/status_im2/`. Don't use
`re-frame.core/reg-event-db`.

Expand Down

0 comments on commit 37b517f

Please sign in to comment.