 ;; Views
 
 (defn canvas [state]
-  (reagent/create-class
+  (r/create-class
    {:component-did-mount (fn [this]
                            (let [console (js/ROT.Display.
                                           #js {:width 40

(ns caves-of-cljs.core
  (:require-macros [cljs.core.async.macros :refer [go go-loop]])
  (:require [reagent.core :as reagent :refer [atom]]
            [clojure.set :as set]
            [cljs.core.async :as async :refer [put! chan <!]]
            [secretary.core :as secretary :include-macros true]

;; Initialize app
(defn init! []
  (hook-browser-navigation!)
  (r/render-component [current-page app-state] (.getElementById js/document "app")))
