From 218cd4be69ade0aaba8945a72dd63322e776a7df Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Sun, 16 Aug 2020 19:54:20 -0700 Subject: [PATCH] Fix rfe/start! example arity The second arg should be the on-navigate callback and the opts should be the third arg. --- doc/frontend/browser.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/frontend/browser.md b/doc/frontend/browser.md index 0d1d8b0d..50349fcc 100644 --- a/doc/frontend/browser.md +++ b/doc/frontend/browser.md @@ -30,6 +30,7 @@ event handling: ```clj (rfe/start! router + on-navigate-fn {:use-fragment false :ignore-anchor-click? (fn [router e el uri] ;; Add additional check on top of the default checks