Created
May 17, 2019 21:17
-
-
Save paulkoegel/736afb24d4d8e01bef86c4ad80e16cef 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 instructions.core | |
(:require [reagent.core :as reagent] | |
[re-frame.core :as re-frame])) | |
(defn parent [& children] | |
[:div | |
[:h1 "Parent"] | |
children]) | |
(defn info [] | |
[:div | |
[parent | |
[:.tac "Hello"]]]) | |
;; This renders the app to the right-hand panel | |
(reagent/render | |
[info] | |
(js/document.getElementById "app")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment