This commit is contained in:
crumbtoo committed 2024-04-23 11:20:30 -06:00
1 parent cf69c2ee90
commit 447c8ceebf
11 files changed
+1313 -19

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
(ns main)
;; this is called before any code is reloaded
(defn ^:dev/before-load stop []
(js/console.log "stop"))
;; start is called by init and after code reloading finishes
(defn ^:dev/after-load start []
(js/console.log "start"))
;; init is called ONCE when the page loads
;; this is called in the index.html and must be exported
;; so it is available even in :advanced release builds
(defn init []
(js/console.log "init")
(start))