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 Jun 19, 2019
1 parent ebdccd7 commit 4c8cbd67dcc24d0365feb25bf511e03cba0fcf36
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/tallex/time_dive.cljs
@@ -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.
You can’t perform that action at this time.