We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074fde1 commit a28b464Copy full SHA for a28b464
examples/rfx-todomvc/src/rfx_todomvc/ui.cljs
@@ -1,15 +1,14 @@
1
(ns rfx-todomvc.ui
2
(:require [io.factorhouse.hsx.core :as hsx]
3
[io.factorhouse.rfx.core :as rfx]
4
- [io.factorhouse.rfx.dev :refer [wrap-dev]]
5
["react" :as react]
6
["react-dom/client" :refer [createRoot]]))
7
8
(defonce root
9
(createRoot (.getElementById js/document "app")))
10
11
(defonce todo-context
12
- (wrap-dev (rfx/init {:initial-value {:todos {}}})))
+ (rfx/init {:initial-value {:todos {}}}))
13
14
(rfx/reg-event-db
15
:todos/add
0 commit comments