Fix rfe/start! example arity

The second arg should be the on-navigate callback and the opts should be the third arg.
This commit is contained in:
Kevin Liu 2020-08-16 19:54:20 -07:00 committed by GitHub
parent afd0af83be
commit 218cd4be69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ event handling:
```clj ```clj
(rfe/start! (rfe/start!
router router
on-navigate-fn
{:use-fragment false {:use-fragment false
:ignore-anchor-click? (fn [router e el uri] :ignore-anchor-click? (fn [router e el uri]
;; Add additional check on top of the default checks ;; Add additional check on top of the default checks