fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
2020-11-01T04:04:50.006100Z

np! I mostly just use these two, you can play around with customizing them to your liking:

(defmutation $name$
  [{:keys [$keys$] :as props}]
  (action [{:keys [state]}]
    (swap! state
      (fn [s]
        (-> s $END$)))))

--------

(defsc $NAME$ [this props]
  {:query []
   :ident :$name$/id
   :initial-state (fn [_] {})}
   [:div "HI"])
   
(def ui-$name$ (c/computed-factory $NAME$))

tony.kay 2020-11-01T19:39:28.006400Z

tony.kay 2020-11-01T19:39:35.006800Z

@jtlocsei

tobias 2020-11-01T22:10:27.007800Z

Thanks Tony!