0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
penpot/frontend/uxbox/state.cljs
Andrey Antukh 7b8f241d41 WIP:
2015-12-30 00:19:46 +02:00

15 lines
337 B
Clojure

(ns uxbox.state
(:require [uxbox.rstore :as rs]
[beicon.core :as rx]))
(enable-console-print!)
(defonce state (atom {}))
(def stream
(rs/init {:user {:fullname "Cirilla"
:avatar "http://lorempixel.com/50/50/"}
:projects-by-id {}
:pages-by-id {}}))
(rx/to-atom stream state)