Skip to content
Permalink
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
code
  • Loading branch information...
tkjone committed Jun 19, 2019
1 parent 380b09d commit 205c680d3155983a1b5ef09ce02d42a5e91d3af6
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 205c680

Please sign in to comment.
You can’t perform that action at this time.