                          [:div])})))
 
 (defn calendar [options]
-  (r/create-class
-    {:component-did-mount #(.fullCalendar (js/jQuery (r/dom-node %))
-                                          (clj->js options))
-     :component-did-update #(.fullCalendar (js/jQuery (r/dom-node %))
-                                           (clj->js options))
-     :reagent-render (constantly [:div])}))
+  (let [options (atom {})]
+    (r/create-class
+      {:component-did-mount #(.fullCalendar (js/jQuery (r/dom-node %))
+                                            (clj->js @options))
+       :component-did-update #(.fullCalendar (js/jQuery (r/dom-node %))
+                                             (clj->js @options))
+       :reagent-render (fn [x]
+                         (reset! options x)
+                         [:div])})))
 
 (defn qr-code [options]
-  (r/create-class
-    {:component-did-mount #(.qrcode (js/jQuery (r/dom-node %))
-                                    (clj->js options))
-     :component-did-update #(.qrcode (js/jQuery (r/dom-node %))
-                                     (clj->js options))
-     :reagent-render (constantly [:div])}))
+  (let [options (atom {})]
+    (r/create-class
+      {:component-did-mount #(.qrcode (js/jQuery (r/dom-node %))
+                                      (clj->js @options))
+       :component-did-update #(.qrcode (js/jQuery (r/dom-node %))
+                                       (clj->js @options))
+       :reagent-render (fn [x]
+                         (reset! options x)
+                         [:div])})))
 
 ; action must be a function that takes a callback for the API call as a param
 (defn action-button [options text action & [alt-text]]

                               :in $ ?event-id
                               :where
                               [?e :EventId ?event-id]]
                             @activities-db
                             event-id)))

            create-activity
            (fn [form]

        [:div.ui.vertical.segment
         [:h2.ui.header
          "Activities"]
         [activity-table-component event-id]]
        [:div.ui.vertical.segment
         [:h2.ui.header
          "Attendees"
