Skip to content

Instantly share code, notes, and snippets.

@daiyi
Created July 24, 2017 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daiyi/77dce421a5fb59db71893b6727e92010 to your computer and use it in GitHub Desktop.
Save daiyi/77dce421a5fb59db71893b6727e92010 to your computer and use it in GitHub Desktop.
(ns hello.core
(:require [reagent.core :as reagent]
[re-frame.core :as re-frame]))
(defn ui []
[:div
[:p "hello!"]])
;; This renders the app to the right-hand panel
(reagent/render
[ui]
(js/document.getElementById "app"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment