Last active
July 15, 2019 19:59
-
-
Save dimovich/34a75744b0c1d8e1b13ae19c2cb324a6 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
(ns ^:figwheel-hooks yourapp.core | |
(:require [reagent.core :as r])) | |
(defn title | |
[] | |
[:h1 "mooo"]) | |
(defn app [] | |
[title]) | |
(defn ^:after-load reload [] | |
(r/render | |
[app] | |
(.getElementById js/document "app"))) | |
(defn ^:export main [] | |
(reload)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment