   [:div.pa4
    (heading)
    [:hr.mv3.ba]
-   (dataflow-test* (drv-spec *state))
+   (spec-via-args (drv-spec *state))
    [:hr.mv3.ba]
-   (dataflow-test)])
+   (spec-via-mixin)])
 
 (defn init []
   (rum/mount (root-component) (js/document.getElementById "container")))
(rum/defcs derived-view-react-both < rum/reactive (d/drv :inc :as-map :sum) (d/drv :base)
  [s]
  [:div
   [item "Both mixin varians, " [:code "react-drvs"] " and singular " [:code "react"]]
   (let [{:keys [base inc]} (d/react-drvs s :base :inc)]
     [container
      [item ":base "   (-> base pr-str)]
      [item ":inc "    (-> inc pr-str)]

  [:div.cf
   [:div.fl.w-50.pa2 (derived-view)]
   [:div.fl.w-50.pa2 (derived-view-variadic-mixin)]
   [:div.fl.w-50.pa2 (derived-view-react-all)]
   [:div.fl.w-50.pa2 (derived-view-react-both)]])

(rum/defc spec-via-mixin < (d/rum-derivatives (drv-spec *state))
  []
  [:div
   [:h3.mb4.pa2 "Derviatives spec passed to mixin"]
   (drv-variant-table)])

(rum/defc spec-via-args < (d/rum-derivatives* first)
  [spec]
  [:div
   [:h3.mb4.pa2 "Derviatives spec extracted from arguments"]
