-
-
Save anonymous/c3e591259303ade8efa0e1bef284f7f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(rf/reg-sub | |
:dashboard | |
(fn [db _] | |
(get db/default-db :state))) | |
(defn dev-dashboard [] | |
(let [dashboard (rf/subscribe db/default-db)] | |
(fn [] | |
[:div | |
(pr-str @dashboard)]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment