Help Garden

Powered by 🌱Roam Garden
(ns async-stuff
  (:require
   [datascript.core :as d]
   [roam.datascript.reactive :as dr]))

(defn test [{:keys [block-uid]} & args]
  (let [*b (dr/f-entity d/touch [:block/uid block-uid])]
    (js/console.log args)
    (fn [& args]
      [:div "helo"
        (pr-str @*b)
        (with-out-str (prn @*b))])))

roam/render