Skip to content

Instantly share code, notes, and snippets.

Matt Frey mattsfrey

  • Boulder, CO
Block or report user

Report or block mattsfrey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am mattsfrey on github.
  • I am mattsfrey (https://keybase.io/mattsfrey) on keybase.
  • I have a public key ASA8cCvFF8RnnFaFFt2QTtdhqCEnzSvvj3Ak8T28tWvmogo

To claim this, I am signing this object:

@mattsfrey
mattsfrey / data.cljs
Last active Jul 25, 2016
Re-Frame Example
View data.cljs
;;;DATA
(ns data
(:require [re-frame.db :refer [app-db]]
[reagent.atom :as ra :include-macros true]
[re-frame.core :as rf]))
(defn show-box?- []
(ra/reaction (get-in @app-db [:show-box?])))
View gist:c2eb85d5f1b3d891f7943f84dc783dc8
(defn import-panel []
(let [abs- (abd/abs-)]
(fn []
[:div {:style {:margin-top "40px"
:width "100%"
:max-width "800px"
:min-width "400px"}}
[:div {:style {:margin-left "4px"
:font-size "11px"
:letter-spacing "1.4px"
You can’t perform that action at this time.