Guest User

Untitled

a guest
Mar 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. ```clojure
  2. (ns browserless-test.components
  3. (:require
  4. [reagent.core :as reagent]))
  5.  
  6. (defn easy-component []
  7. [:div "I'm easy"])
  8.  
  9. (defn stateful-component [is-easy-atom]
  10. [:div (str "I'm "
  11. (if @is-easy-atom "also" "less")
  12. " easy.")])
  13. ```
Add Comment
Please, Sign In to add comment