 (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)]
+   [item "Both mixin varians, " [:code "react-all"] " and singular " [:code "react"]]
+   (let [{:keys [base inc]} (d/react-all s :base :inc)]
      [container
       [item ":base "   (-> base pr-str)]
       [item ":inc "    (-> inc pr-str)]

    [item ":as-map " (-> (d/react s :as-map) pr-str)]
    [item ":sum "    (-> (d/react s :sum) pr-str)]]])

(rum/defcs derived-view-react-drvs-all < rum/reactive (d/drv :inc :as-map :sum) (d/drv :base)
  [s]
  [:div
   [item "Both mixin varians, " [:code "react-drvs"]]
   (let [{:keys [base inc as-map sum]} (d/react-drvs s)]
     [container
      [item ":base "   (-> base pr-str)]
      [item ":inc "    (-> inc pr-str)]

  [:div.pa4
   (heading)
   [:hr.mv3.ba]
   (spec-via-args (drv-spec *state))
   [:hr.mv3.ba]
   (spec-via-mixin)])

(defn init []
  (rum/mount (root-component) (js/document.getElementById "container")))