(db-patch-handle-entity db db-patch)
(deep-merge db [m])
(new-debouncer interval dispatch)
(replace-ents db m)
(update-db db [db-patches])
Takes a db and a vector of db-patches, and applies those patches to the db using the udpaters stored in [:sweet-tooth.frontend/config :sweet-tooth.frontend.core.flow/update-db] of the app-db.
If no updaters apply, then just merge the patch in.
Takes a db and a vector of db-patches, and applies those patches to the db using the udpaters stored in [:sweet-tooth.frontend/config :sweet-tooth.frontend.core.flow/update-db] of the app-db. If no updaters apply, then just merge the patch in.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close