Skip to content
Browse files
Step 11 - Add figwheel hooks for HMR
This is not doing much other than to show that we use hooks to provide
us with setup and teardown functions to allow us to write reloadable
  • Loading branch information
athomasoriginal committed Mar 7, 2020
1 parent ebdccd7 commit 4c8cbd67dcc24d0365feb25bf511e03cba0fcf36
Showing 1 changed file with 3 additions and 2 deletions.
@@ -1,3 +1,4 @@
(ns tallex.time-dive)
(ns ^:figwheel-hooks tallex.time-dive)

(js/console.log "Hello, Time Dive!")
(defn ^:after-load re-render []
(js/console.log "Hello, Time Dive!"))

0 comments on commit 4c8cbd6

Please sign in to comment.