Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```clojure
- (ns browserless-test.components
- (:require
- [reagent.core :as reagent]))
- (defn easy-component []
- [:div "I'm easy"])
- (defn stateful-component [is-easy-atom]
- [:div (str "I'm "
- (if @is-easy-atom "also" "less")
- " easy.")])
- ```
Add Comment
Please, Sign In to add comment